Permalink
Browse files

Merge branch 'master' of github.com:naoty/bin

  • Loading branch information...
2 parents de42c94 + 64f8316 commit 76e918d4027bf1173280ddda4ad557446d23052a @naoty committed Jul 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pre-commit
View
@@ -3,6 +3,6 @@
# check binding.pry
cached_files = `git diff --cached --name-only`
if cached_files.split($/).any? { |path| File.read(path).include?('binding.pry') }
- puts 'WARNING: binding.pry is found.'
+ puts 'ERROR: binding.pry is found.'
exit 1
end

0 comments on commit 76e918d

Please sign in to comment.