From c0c271e8079a228983dcb5bbcf665dea56834d01 Mon Sep 17 00:00:00 2001 From: Danny Ben Shitrit Date: Tue, 19 Dec 2023 12:27:32 +0000 Subject: [PATCH] revert validation string --- lib/bashly/concerns/validation_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bashly/concerns/validation_helpers.rb b/lib/bashly/concerns/validation_helpers.rb index 812acc0f..eee3c1a2 100644 --- a/lib/bashly/concerns/validation_helpers.rb +++ b/lib/bashly/concerns/validation_helpers.rb @@ -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