Skip to content
Browse files

print a warning if locking while frozen

  • Loading branch information...
1 parent 7fa62c9 commit 31c75113b63a3276ab60a2acacbf1d5b2b74226b @indirect indirect committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/definition.rb
View
2 lib/bundler/definition.rb
@@ -230,7 +230,7 @@ def lock(file)
return if @lockfile_contents == contents
if Bundler.settings[:frozen]
- # TODO: Warn here if we got here.
+ Bundler.ui.error "Cannot write a changed lockfile while frozen."
return
end

0 comments on commit 31c7511

Please sign in to comment.
Something went wrong with that request. Please try again.