Skip to content

Commit 55a3946

Browse files
committed
- Add misisng validation for env_var.validate
1 parent a81d906 commit 55a3946

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
@@ -169,6 +169,7 @@ def assert_env_var(key, value)
169169
assert_boolean "#{key}.required", value['required']
170170
assert_boolean "#{key}.private", value['private']
171171
assert_array "#{key}.allowed", value['allowed'], of: :string
172+
assert_optional_string "#{key}.validate", value['validate']
172173

173174
refute value['required'] && value['default'], "#{key} cannot have both nub`required` and nub`default`"
174175
end

0 commit comments

Comments
 (0)