Skip to content

Commit 3c7ff8a

Browse files
committed
Extra newline in exception
``` Sprockets::Rails::Helper::AssetNotPrecompiled: Asset `application.scss` was not declared to be precompiled in production. Declare links to your assets in `app/assets/config/manifest.js`. //= link application.scss and restart your server ``` Becomes ``` Sprockets::Rails::Helper::AssetNotPrecompiled: Asset `application.scss` was not declared to be precompiled in production. Declare links to your assets in `app/assets/config/manifest.js`. //= link application.scss and restart your server ```
1 parent 760a805 commit 3c7ff8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sprockets/rails/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def initialize(source)
1616
if using_sprockets4?
1717
"Asset `#{ source }` was not declared to be precompiled in production.\n" +
1818
"Declare links to your assets in `app/assets/config/manifest.js`.\n\n" +
19-
" //= link #{ source }\n" +
19+
" //= link #{ source }\n\n" +
2020
"and restart your server"
2121
else
2222
"Asset was not declared to be precompiled in production.\n" +

0 commit comments

Comments
 (0)