Skip to content

Commit

Permalink
Install the version of Webpacker that is announced in the previous me…
Browse files Browse the repository at this point in the history
…ssage. (#2380)
  • Loading branch information
DavidHernandez authored and gauravtiwari committed Nov 27, 2019
1 parent d905149 commit 417542c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

if Webpacker::VERSION =~ /^[0-9]+\.[0-9]+\.[0-9]+$/
say "Installing all JavaScript dependencies [#{Webpacker::VERSION}]"
run "yarn add @rails/webpacker"
run "yarn add @rails/webpacker@#{Webpacker::VERSION}"
else
say "Installing all JavaScript dependencies [from prerelease rails/webpacker]"
run "yarn add @rails/webpacker@next"
Expand Down

0 comments on commit 417542c

Please sign in to comment.