Skip to content

Commit

Permalink
Remove extra space from erb installer (#2258)
Browse files Browse the repository at this point in the history
  • Loading branch information
swrobel authored and jakeNiemiec committed Aug 28, 2019
1 parent 62006ba commit d0fa1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install/erb.rb
Expand Up @@ -5,7 +5,7 @@

say "Adding erb loader to config/webpack/environment.js"
insert_into_file Rails.root.join("config/webpack/environment.js").to_s,
"const erb = require('./loaders/erb')\n",
"const erb = require('./loaders/erb')\n",
after: /require\(('|")@rails\/webpacker\1\);?\n/

insert_into_file Rails.root.join("config/webpack/environment.js").to_s,
Expand Down

0 comments on commit d0fa1d1

Please sign in to comment.