Skip to content

Commit

Permalink
Update comment on check_yarn_integrity config (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
earnubs authored and gauravtiwari committed Mar 13, 2018
1 parent 0a7778a commit 97e09e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webpacker/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Webpacker::Engine < ::Rails::Engine
#
# to turn on:
# - edit config/environments/production.rb
# - add `config.webpacker.check_yarn_integrity = false`
# - add `config.webpacker.check_yarn_integrity = true`
initializer "webpacker.yarn_check" do |app|
if File.exist?("yarn.lock") && app.config.webpacker.check_yarn_integrity
output = `yarn check --integrity 2>&1`
Expand Down

0 comments on commit 97e09e3

Please sign in to comment.