Skip to content

Commit 17a6d28

Browse files
committed
Fix OR
1 parent 11edff9 commit 17a6d28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ql/lib/codeql/actions/security/CachePoisoningQuery.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ string defaultBranchNames() {
1818
)
1919
or
2020
not exist(string default_branch_name |
21-
repositoryDataModel(_, default_branch_name) and
22-
result = ["main", "master"]
23-
)
21+
repositoryDataModel(_, default_branch_name)
22+
) and
23+
result = ["main", "master"]
2424
}
2525

2626
predicate runsOnDefaultBranch(Job j) {

0 commit comments

Comments
 (0)