Skip to content

Commit bb4d45c

Browse files
authored
Apply suggestion from @data-douser
1 parent 5db6dd2 commit bb4d45c

File tree

1 file changed

+1
-1
lines changed
  • javascript/frameworks/cap/lib/advanced_security/javascript/frameworks/cap

1 file changed

+1
-1
lines changed

javascript/frameworks/cap/lib/advanced_security/javascript/frameworks/cap/PackageJson.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class RequiredService extends JsonObject {
4242

4343
File getImplementationFile() {
4444
exists(RootDirectory root |
45-
// `getFilePathRelativeToRoot` now returns normalized forward-slash paths,
45+
// `getFilePathRelativeToRoot` returns normalized forward-slash paths regardless of OS,
4646
// matching the forward-slash convention used in package.json `impl` values.
4747
root.getFilePathRelativeToRoot(result) = "./" + this.getPropStringValue("impl")
4848
)

0 commit comments

Comments
 (0)