Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4ac9009 + 61b5618 commit 1ec2fd7Copy full SHA for 1ec2fd7
1 file changed
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