Guest User

Untitled

a guest
Jul 21st, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #!/usr/bin/env ruby
  2.  
  3. diff = `git diff --cached`
  4. if diff.match(/^\+.*focus.*=>.*true/)
  5. puts "Found focus=>true, maybe in a spec?"
  6. exit 1
  7. end
  8. exit 0
Add Comment
Please, Sign In to add comment