Skip to content

Commit

Permalink
Standardise comment explaining why extensible predicates must be defined
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-mc committed May 1, 2024
1 parent 09e59cc commit 16dcc09
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
2 changes: 2 additions & 0 deletions csharp/ql/lib/ext/empty.model.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
extensions:
# Make sure that the extensible model predicates have at least one definition
# to avoid errors about an undefined extensionals.
- addsTo:
pack: codeql/csharp-all
extensible: sourceModel
Expand Down
3 changes: 2 additions & 1 deletion go/ql/lib/ext/empty.model.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
extensions:
# Make sure that the extensible model predicates are at least defined as empty.
# Make sure that the extensible model predicates have at least one definition
# to avoid errors about an undefined extensionals.
- addsTo:
pack: codeql/go-all
extensible: sourceModel
Expand Down
5 changes: 3 additions & 2 deletions java/ql/lib/ext/empty.model.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
extensions:
# Make sure that the extensible model predicates are at least defined as empty.
# Make sure that the extensible model predicates have at least one definition
# to avoid errors about an undefined extensionals.
- addsTo:
pack: codeql/java-all
extensible: sourceModel
Expand All @@ -15,4 +16,4 @@ extensions:
- addsTo:
pack: codeql/java-all
extensible: neutralModel
data: []
data: []
4 changes: 2 additions & 2 deletions java/ql/lib/ext/experimental/empty.model.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Define the extensible prediactes related to experimental queries
# to at least be empty.
extensions:
# Make sure that the extensible model predicates have at least one definition
# to avoid errors about an undefined extensionals.
- addsTo:
pack: codeql/java-all
extensible: experimentalSourceModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
extensions:
# Contribute empty data sets to avoid errors about an undefined extensionals
# Make sure that the extensible model predicates have at least one definition
# to avoid errors about an undefined extensionals.
- addsTo:
pack: codeql/javascript-all
extensible: sourceModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
extensions:
# Contribute empty data sets to avoid errors about an undefined extensionals
# Make sure that the extensible model predicates have at least one definition
# to avoid errors about an undefined extensionals.
- addsTo:
pack: codeql/python-all
extensible: sourceModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
extensions:
# Contribute empty data sets to avoid errors about an undefined extensionals
# Make sure that the extensible model predicates have at least one definition
# to avoid errors about an undefined extensionals.
- addsTo:
pack: codeql/ruby-all
extensible: sourceModel
Expand Down

0 comments on commit 16dcc09

Please sign in to comment.