mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
Use set literal instead of disjunction
This commit is contained in:
@@ -6,10 +6,7 @@
|
||||
/** A possible cargo item. */
|
||||
class Cargo extends string {
|
||||
Cargo() {
|
||||
this = "Nothing" or
|
||||
this = "Goat" or
|
||||
this = "Cabbage" or
|
||||
this = "Wolf"
|
||||
this = ["Nothing", "Goat", "Cabbage", "Wolf"]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user