make query more robust
This commit is contained in:
parent
ce467e7e36
commit
8207018b75
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class ActionsLibImport extends ImportDeclaration {
|
|||
ActionsLibImport() {
|
||||
getImportedPath().getValue().matches("@actions/%") and
|
||||
not isSafeActionLib(getImportedPath().getValue()) or
|
||||
getImportedPath().getValue() = "./actions-util"
|
||||
getImportedPath().getValue().matches("/actions-util$")
|
||||
}
|
||||
|
||||
string getName() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue