Skip to content

Commit

Permalink
Update unguarded-action-lib.ql
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert authored and GitHub committed Jun 2, 2021
1 parent 4ac9009 commit 61b5618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queries/unguarded-action-lib.ql
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ActionsLibImport extends ImportDeclaration {
ActionsLibImport() {
getImportedPath().getValue().matches("@actions/%") and
not isSafeActionLib(getImportedPath().getValue()) or
getImportedPath().getValue().matches("/actions-util$")
getImportedPath().getValue().matches("%/actions-util$")
}

string getName() {
Expand Down

0 comments on commit 61b5618

Please sign in to comment.