Skip to content

Commit eed4f0f

Browse files
committedDec 20, 2016
Only spellcheck added and modified files
1 parent dbbf062 commit eed4f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎ci/travis/check_spelling.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo "Spell check"
99
if [[ ! -z $TRAVIS_PULL_REQUEST_BRANCH ]]; then
1010
# if on a PR, just analyse the changed files
1111
echo "TRAVIS PR BRANCH: $TRAVIS_PULL_REQUEST_BRANCH"
12-
FILES=$(git diff --name-only HEAD $(git merge-base HEAD master) | tr '\n' ' ' )
12+
FILES=$(git diff --diff-filter=AM --name-only $(git merge-base HEAD master) | tr '\n' ' ' )
1313
fi
1414

1515
./scripts/chkspelling_ag.sh $FILES

0 commit comments

Comments
 (0)
Please sign in to comment.