mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
exists
This commit is contained in:
@@ -17,7 +17,7 @@ string defaultBranchNames() {
|
||||
result = default_branch_name
|
||||
)
|
||||
or
|
||||
not exist(string default_branch_name |
|
||||
not exists(string default_branch_name |
|
||||
repositoryDataModel(_, default_branch_name)
|
||||
) and
|
||||
result = ["main", "master"]
|
||||
|
||||
Reference in New Issue
Block a user