Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Dec 7, 2023
1 parent 25431c9 commit f4ac880
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/bashly/config_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ def assert_command(key, value)
assert repeatable_args < 2, "#{key}.args cannot have more than one repeatable args"

if repeatable_args == 1
assert value['args'].last['repeatable'], "#{key}.args cannot contain a repeatable arg unless it is the last one"
assert value['args'].last['repeatable'],
"#{key}.args cannot contain a repeatable arg unless it is the last one"
end
end

Expand Down

0 comments on commit f4ac880

Please sign in to comment.