Skip to content

Commit 62fa056

Browse files
committed
update config validator to assert flag.unique
1 parent 9fb6bcf commit 62fa056

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/bashly/config_validator.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def assert_flag(key, value)
118118

119119
assert_boolean "#{key}.private", value['private']
120120
assert_boolean "#{key}.repeatable", value['repeatable']
121+
assert_boolean "#{key}.unique", value['unique']
121122
assert_boolean "#{key}.required", value['required']
122123
assert_array "#{key}.allowed", value['allowed'], of: :string
123124
assert_array "#{key}.conflicts", value['conflicts'], of: :string

0 commit comments

Comments
 (0)