diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2018-03-29 11:02:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 11:02:49 -0500 |
commit | 1765f09b10483f69fd13c238db7122179d8b4e6a (patch) | |
tree | 507027cafaa610a272ae754af7321b08d368a8ff | |
parent | b4557f8f3f6ada2a4862844dcdd22386233a1d5c (diff) | |
parent | 3e032bf23b4f0cc376190607ba99291bdc860ab0 (diff) | |
download | rails-1765f09b10483f69fd13c238db7122179d8b4e6a.tar.gz rails-1765f09b10483f69fd13c238db7122179d8b4e6a.tar.bz2 rails-1765f09b10483f69fd13c238db7122179d8b4e6a.zip |
Merge pull request #32243 from maschwenk/patch-2
[Webpack] Raise an error when lockfile diff is generated
-rw-r--r-- | railties/lib/rails/tasks/yarn.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/yarn.rake b/railties/lib/rails/tasks/yarn.rake index 48da7ffc51..044c63087d 100644 --- a/railties/lib/rails/tasks/yarn.rake +++ b/railties/lib/rails/tasks/yarn.rake @@ -3,7 +3,7 @@ namespace :yarn do desc "Install all JavaScript dependencies as specified via Yarn" task :install do - system("./bin/yarn install --no-progress --production") + system("./bin/yarn install --no-progress --freeze-lockfile --production") end end |