This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Copy/pasta from https://gist.github.com/andrewpage/b281314934b9c15b5073 without the custome str methods | |
# Grab a list of staged changed files | |
changed_files = `git diff --name-only HEAD`.split("\n") | |
should_fail, broken_files = false, [] | |
changed_files.each do |file| |