Skip to content

Commit 61b5618

Browse files
Update unguarded-action-lib.ql
1 parent 4ac9009 commit 61b5618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queries/unguarded-action-lib.ql

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class ActionsLibImport extends ImportDeclaration {
4343
ActionsLibImport() {
4444
getImportedPath().getValue().matches("@actions/%") and
4545
not isSafeActionLib(getImportedPath().getValue()) or
46-
getImportedPath().getValue().matches("/actions-util$")
46+
getImportedPath().getValue().matches("%/actions-util$")
4747
}
4848

4949
string getName() {

0 commit comments

Comments
 (0)