Skip to content

Commit cd26594

Browse files
committed
Remove CdsFacade.getNode/0
This predicate is (1) not used anywhere, and (2) nothing but a simple alias to `API::Node.asSource/0`.
1 parent 18ef3b5 commit cd26594

File tree

1 file changed

+0
-2
lines changed
  • javascript/frameworks/cap/lib/advanced_security/javascript/frameworks/cap

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ class CdsFacade extends API::Node {
2727
* Holds if this CDS facade object is imported via path `"@sap/cds/lib"`.
2828
*/
2929
predicate isFromCdsLib() { importPath = "@sap/cds/lib" }
30-
31-
Node getNode() { result = this.asSource() }
3230
}
3331

3432
/**

0 commit comments

Comments
 (0)