Skip to content

Commit 0c89db4

Browse files
committed
Revert "Replace location in external file"
This reverts commit 4afd465.
1 parent 4afd465 commit 0c89db4

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ class CdlDefinition extends JsonObject {
2424
}
2525

2626
abstract class CdlElement extends JsonObject {
27-
string getURL() {
28-
result =
29-
"file://" + this.getFile().getAbsolutePath().regexpReplaceAll(".cds.json$", ".cds")
30-
}
31-
3227
CdlKind kind;
3328
string name;
3429

javascript/frameworks/cap/src/bad-authn-authz/EntityExposedWithoutAuthn/EntityExposedWithoutAuthn.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ where
2727
cdlElement instanceof CdlElementWithoutJsAuthn and
2828
cdlElement instanceof CdlElementWithoutCdsAuthn
2929
select cdlElement,
30-
"The " + getClickableText(cdlElement) + " `" + cdlElement.getName() +
31-
"` is exposed without any authentication."
30+
"This " + getClickableText(cdlElement) + " is exposed without any authentication."

0 commit comments

Comments
 (0)