Skip to content

Commit 4a687a1

Browse files
committed
JS: Add deprecated alias
The old DbLocation class was public, hence the alias
1 parent dcf63fc commit 4a687a1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

javascript/ql/lib/semmle/javascript/Locations.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,8 @@ class Locatable extends @locatable {
149149
*/
150150
string getAPrimaryQlClass() { result = "???" }
151151
}
152+
153+
/**
154+
* DEPRECATED. Use `Location` instead.
155+
*/
156+
deprecated class DbLocation = Location;

0 commit comments

Comments
 (0)