Skip to content

Commit

Permalink
disallowedConstants' constant field is always present (#245)
Browse files Browse the repository at this point in the history
The `class` won't be for non-class constants.
  • Loading branch information
spaze committed Jan 22, 2024
2 parents ac1fd66 + 30b06ec commit 0741bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension.neon
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ parametersSchema:
disallowedConstants: listOf(
structure([
?class: string(),
?constant: anyOf(string(), listOf(string())),
constant: anyOf(string(), listOf(string())),
?message: string(),
?allowIn: listOf(string()),
?allowExceptIn: listOf(string()),
Expand Down

0 comments on commit 0741bd1

Please sign in to comment.