Skip to content

Commit

Permalink
revert validation string
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Dec 19, 2023
1 parent 42dd31f commit c0c271e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bashly/concerns/validation_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def assert_string_or_array(key, value)
return unless value

assert [Array, String].include?(value.class),
"#{key} must be a string or an array of strings"
"#{key} must be a string or an array"

assert_array key, value, of: :string if value.is_a? Array
end
Expand Down

0 comments on commit c0c271e

Please sign in to comment.