Update javascript/ql/src/experimental/semmle/javascript/Actions.qll

Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
Jaroslav Lobačevski
2021-03-15 19:15:10 +02:00
committed by GitHub
parent 87ea442a78
commit 8445ec6c17

View File

@@ -12,7 +12,12 @@ import javascript
module Actions {
/** A YAML node in a GitHub Actions workflow file. */
private class Node extends YAMLNode {
Node() { this.getLocation().getFile().getRelativePath().matches(["experimental/Security/CWE-094/.github/workflows/%", ".github/workflows/%"]) }
Node() {
this.getLocation()
.getFile()
.getRelativePath()
.matches(["experimental/Security/CWE-094/.github/workflows/%", ".github/workflows/%"])
}
}
/**