mirror of
https://github.com/postlight/mercury-parser
synced 2024-10-31 03:20:40 +00:00
ignore deleted fixtures
This commit is contained in:
parent
78af226e86
commit
e65db47597
@ -5,7 +5,7 @@ changes=( `git diff origin/master --name-only` )
|
|||||||
for fixture in "${changes[@]}"
|
for fixture in "${changes[@]}"
|
||||||
do
|
do
|
||||||
# If one of the changed files is a fixture, hold onto it
|
# 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
|
fixtures=$fixture,$fixtures
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user