Skip to content

Commit c920b7e

Browse files
Remove explicit check for windows
1 parent aa4c459 commit c920b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/pure/files.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function containsPath(parent: string, child: string): boolean {
7676
!relativePath.startsWith("..") &&
7777
// On windows, if the two paths are in different drives, then the
7878
// relative path will be an absolute path to the other drive.
79-
!(process.platform === "win32" && isAbsolute(relativePath))
79+
!isAbsolute(relativePath)
8080
);
8181
}
8282

0 commit comments

Comments
 (0)