Skip to content

Commit 8ad48fe

Browse files
committed
fix env_var key validation
1 parent 58f8777 commit 8ad48fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bashly/config_validator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def assert_flag(key, value)
126126
end
127127

128128
def assert_env_var(key, value)
129-
assert_hash key, value, Script::Argument.option_keys
129+
assert_hash key, value, Script::EnvironmentVariable.option_keys
130130
assert_string "#{key}.name", value['name']
131131
assert_optional_string "#{key}.help", value['help']
132132
assert_optional_string "#{key}.default", value['default']

0 commit comments

Comments
 (0)