Skip to content

Commit 49bf802

Browse files
authored
Merge pull request #429 from justin808/patch-1
Missing new line in error message
2 parents 857e781 + 2506ef0 commit 49bf802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sprockets/rails/helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def compute_asset_path(path, options = {})
8080
if asset_path = resolve_asset_path(path, debug)
8181
File.join(assets_prefix || "/", legacy_debug_path(asset_path, debug))
8282
else
83-
message = "The asset #{ path.inspect } is not present in the asset pipeline."
83+
message = "The asset #{ path.inspect } is not present in the asset pipeline.\n"
8484
raise AssetNotFound, message unless unknown_asset_fallback
8585

8686
if respond_to?(:public_compute_asset_path)

0 commit comments

Comments
 (0)