Skip to content

Commit b0be90a

Browse files
committed
Run Rubocop-git including commit itself
1 parent 79195ef commit b0be90a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ script:
99
for sha1 in $(git log --format=format:%H ${TRAVIS_COMMIT_RANGE}); do
1010
echo $sha1;
1111
git log --format=%B -n 1 $sha1;
12-
bundle exec rubocop-git $sha1;
12+
bundle exec rubocop-git "${sha1}~1";
1313
if (( $? != 0 )); then rc=1; fi;
1414
echo -e "\n\n\n";
1515
done;

0 commit comments

Comments
 (0)