Skip to content

Commit 90f0db7

Browse files
authored
Suppress RuboCop offense to fix broken build (#3251)
Follow up to #3232. This PR suppresses the following RuboCop offense. ```console % bundle exec rubocop (snip) lib/webpacker/manifest.rb:108:107: C: [Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. 1. You forgot to install node packages (try `yarn install`) or are running an incompatible version of Node ^ 64 files inspected, 1 offense detected, 1 offense auto-correctable Error: Process completed with exit code 1. ``` https://github.com/rails/webpacker/runs/4651343194
1 parent f8eae42 commit 90f0db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/webpacker/manifest.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def manifest_type(pack_type)
105105
def missing_file_from_manifest_error(bundle_name)
106106
<<-MSG
107107
Webpacker can't find #{bundle_name} in #{config.public_manifest_path}. Possible causes:
108-
1. You forgot to install node packages (try `yarn install`) or are running an incompatible version of Node
108+
1. You forgot to install node packages (try `yarn install`) or are running an incompatible version of Node
109109
2. Your app has code with a non-standard extension (like a `.jsx` file) but the extension is not in the `extensions` config in `config/webpacker.yml`
110110
3. You have set compile: false (see `config/webpacker.yml`) for this environment
111111
(unless you are using the `webpack -w` or the webpack-dev-server, in which case maybe you aren't running the dev server in the background?)

0 commit comments

Comments
 (0)