ignore deleted fixtures

This commit is contained in:
Adam Pash 2019-01-16 13:47:33 -08:00
parent 78af226e86
commit e65db47597

View File

@ -5,7 +5,7 @@ changes=( `git diff origin/master --name-only` )
for fixture in "${changes[@]}"
do
# If one of the changed files is a fixture, hold onto it
if [[ $fixture == "fixtures/"* ]]; then
if [[ $fixture == "fixtures/"* ]] && [[ -e "$fixture" ]]; then
fixtures=$fixture,$fixtures
fi
done