We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7396a27 commit f135f93Copy full SHA for f135f93
lib/overcommit/hook/pre_commit/bundle_check.rb
@@ -22,7 +22,8 @@ def run
22
23
new_lockfile = File.read(LOCK_FILE) if File.exist?(LOCK_FILE)
24
if previous_lockfile != new_lockfile
25
- return :fail, "#{LOCK_FILE} is not up-to-date -- run `#{command.join(' ')}`"
+ return :fail, "#{LOCK_FILE} is not up-to-date -- run \
26
+ `#{command.join(' ')}` or add the Gemfile and/or Gemfile.lock".squeeze
27
end
28
29
:pass
0 commit comments