Skip to content

Commit 8445ec6

Browse files
JarLoberik-krogh
andauthored
Update javascript/ql/src/experimental/semmle/javascript/Actions.qll
Co-authored-by: Erik Krogh Kristensen <[email protected]>
1 parent 87ea442 commit 8445ec6

File tree

1 file changed

+6
-1
lines changed
  • javascript/ql/src/experimental/semmle/javascript

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ import javascript
1212
module Actions {
1313
/** A YAML node in a GitHub Actions workflow file. */
1414
private class Node extends YAMLNode {
15-
Node() { this.getLocation().getFile().getRelativePath().matches(["experimental/Security/CWE-094/.github/workflows/%", ".github/workflows/%"]) }
15+
Node() {
16+
this.getLocation()
17+
.getFile()
18+
.getRelativePath()
19+
.matches(["experimental/Security/CWE-094/.github/workflows/%", ".github/workflows/%"])
20+
}
1621
}
1722

1823
/**

0 commit comments

Comments
 (0)