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
#!/bin/bash | |
# Checks the files to be committed for the presence of binding.pry | |
# The array below can be extended for further checks | |
checks[1]="binding.pry" | |
element_count=${#checks[@]} | |
let "element_count = $element_count + 1" | |
ROOT_DIR="$(pwd)/" |