bin/hanami-assets in hanami-assets-0.4.0 vs bin/hanami-assets in hanami-assets-1.0.0.beta1
- old
+ new
@@ -12,10 +12,10 @@
end
end.parse!
config = options.fetch(:config) { raise ArgumentError.new('You must specify a configuration file') }
config = Pathname.new(config)
-config.exist? or raise ArgumentError.new("Cannot find configuration file: #{config}") # rubocop:disable Style/AndOr
+config.exist? or raise ArgumentError.new("Cannot find configuration file: #{config}")
require 'hanami/assets'
load config
Hanami::Assets.deploy