We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ac9009 commit 61b5618Copy full SHA for 61b5618
queries/unguarded-action-lib.ql
@@ -43,7 +43,7 @@ class ActionsLibImport extends ImportDeclaration {
43
ActionsLibImport() {
44
getImportedPath().getValue().matches("@actions/%") and
45
not isSafeActionLib(getImportedPath().getValue()) or
46
- getImportedPath().getValue().matches("/actions-util$")
+ getImportedPath().getValue().matches("%/actions-util$")
47
}
48
49
string getName() {
0 commit comments