Merge pull request #1216 from geoffw0/revert-microsoft

Approved by dave-bartolomeo, jbj
This commit is contained in:
semmle-qlci
2019-04-06 01:02:17 +01:00
committed by GitHub

View File

@@ -309,12 +309,6 @@ class File extends Container, @file {
) or exists(File parent |
parent.compiledAsMicrosoft() and
parent.getAnIncludedFile() = this
) or (
getAbsolutePath().charAt(1) = ":"
// this is not ideal, it detects compilation on a Windows file system
// as a heuristic approximation to compilation with a Microsoft compiler.
) or (
getAbsolutePath().charAt(1) = "/"
)
}