Skip to content

Commit

Permalink
Merge pull request #429 from justin808/patch-1
Browse files Browse the repository at this point in the history
Missing new line in error message
  • Loading branch information
rafaelfranca committed Jun 11, 2018
2 parents 857e781 + 2506ef0 commit 49bf802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sprockets/rails/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def compute_asset_path(path, options = {})
if asset_path = resolve_asset_path(path, debug)
File.join(assets_prefix || "/", legacy_debug_path(asset_path, debug))
else
message = "The asset #{ path.inspect } is not present in the asset pipeline."
message = "The asset #{ path.inspect } is not present in the asset pipeline.\n"
raise AssetNotFound, message unless unknown_asset_fallback

if respond_to?(:public_compute_asset_path)
Expand Down

0 comments on commit 49bf802

Please sign in to comment.