mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
Fix integration tests for windows
This commit is contained in:
@@ -100,7 +100,8 @@ private string getARazorPathPrefix() {
|
||||
or
|
||||
exists(File csproj |
|
||||
csproj.getExtension() = "csproj" and
|
||||
result = csproj.getParentContainer().getAbsolutePath()
|
||||
// possibly prepend '/' to match Windows absolute paths starting with `C:/` with paths appearing in the Razor file in standalone mode starting with `/C:/`
|
||||
result = ["/", ""] + csproj.getParentContainer().getAbsolutePath()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user