lib/sewing_kit/webpack/manifest/development.rb in sewing_kit-0.128.0 vs lib/sewing_kit/webpack/manifest/development.rb in sewing_kit-0.129.0
- old
+ new
@@ -41,11 +41,13 @@
if @metadata_path
result = load_metadata_from_fs(@metadata_path)
return normalize_metadata(result)
end
rescue => e
- Rails.logger.warn "[sewing_kit] could not read manifest from #{@metadata_path}; falling back to node. #{e}"
+ Rails.logger.warn(
+ "[sewing_kit] could not read manifest from #{@metadata_path}; falling back to node. #{e}"
+ )
@metadata_path = nil
end
result = load_metadata_from_node
@@ -79,11 +81,11 @@
end
end
class OnlyUseInProductionError < StandardError
def initialize
- super "The SewingKit::Webpack::Manifest#manifest is intended "\
- "for deploying assets to a CDN. Do not use it in development."
+ super("The SewingKit::Webpack::Manifest#manifest is intended "\
+ "for deploying assets to a CDN. Do not use it in development.")
end
end
end
end
end