We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c3fa4f commit ce36be3Copy full SHA for ce36be3
javascript/frameworks/cap/lib/advanced_security/javascript/frameworks/cap/CDL.qll
@@ -21,7 +21,7 @@ abstract class CdlObject extends JsonObject {
21
// `$location` values in the generated JSON data are, therefore, relative to the
22
// base directory of the project.
23
path =
24
- locValue.getJsonFile().getParentContainer().getRelativePath().regexpReplaceAll("/$", "") +
+ locValue.getJsonFile().getParentContainer().getAbsolutePath().regexpReplaceAll("/$", "") +
25
"/" + locValue.getPropValue("file").getStringValue() and
26
if
27
not exists(locValue.getPropValue("line")) and
0 commit comments