lib/hanami/assets/precompiler.rb in hanami-assets-1.1.0 vs lib/hanami/assets/precompiler.rb in hanami-assets-1.1.1
- old
+ new
@@ -50,10 +50,10 @@
JSON.parse(manifest).each_value do |asset_hash|
asset_file_name = @configuration.public_directory.join(asset_hash['target'])
asset_file_name.unlink if asset_file_name.exist?
end
rescue JSON::ParserError
- $stderr.puts 'Non JSON manifest found and unlinked.'
+ warn 'Non JSON manifest found and unlinked.'
ensure
manifest.unlink
end
# @since 0.1.0