lib/hanami/cli/errors.rb in hanami-cli-0.3.1 vs lib/hanami/cli/errors.rb in hanami-cli-1.0.0.alpha1

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require "hanami/utils/deprecation" module Hanami # General purpose Command Line Interface (CLI) framework for Ruby # @@ -35,10 +37,10 @@ end # @since 0.2.1 def self.const_missing(name) super unless name == :UnkwnownCommandError - Hanami::Utils::Deprecation.new('UnkwnownCommandError is deprecated, please use UnknownCommandError') + Hanami::Utils::Deprecation.new("UnkwnownCommandError is deprecated, please use UnknownCommandError") UnknownCommandError end end end