lib/tapioca/helpers/config_helper.rb in tapioca-0.10.1 vs lib/tapioca/helpers/config_helper.rb in tapioca-0.10.2

- old
+ new

@@ -94,11 +94,11 @@ sig do params( command_options: T::Hash[Symbol, Thor::Option], config_key: String, - config_options: T::Hash[T.untyped, T.untyped] + config_options: T::Hash[T.untyped, T.untyped], ).returns(T::Array[ConfigError]) end def validate_config_options(command_options, config_key, config_options) config_options.filter_map do |config_option_key, config_option_value| command_option = command_options[config_option_key.to_sym] @@ -155,21 +155,21 @@ match = part.match(/`([^`]+)`( ?)/) if match ConfigErrorMessagePart.new( message: "#{match[1]}#{match[2]}", - colors: [:bold, :blue] + colors: [:bold, :blue], ) else ConfigErrorMessagePart.new( message: part, - colors: [:yellow] + colors: [:yellow], ) end end ConfigError.new( - message_parts: message_parts + message_parts: message_parts, ) end sig { params(config_file: String, errors: T::Array[ConfigError]).returns(String) } def build_error_message(config_file, errors)