Skip to content

Commit 4ca1fe6

Browse files
committed
ci: fix branch comparison
1 parent a9be15e commit 4ca1fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/test-commit-messages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ execSync('git fetch origin');
3737
execSync('git fetch origin master:master');
3838

3939

40-
const output = execSync('git log master.. --reverse --format="%H %s" --no-merges', {
40+
const output = execSync(`git log ${TRAVIS_BRANCH}..HEAD --reverse --format="%H %s" --no-merges`, {
4141
encoding: 'utf-8'
4242
});
4343

0 commit comments

Comments
 (0)