Skip to content

Commit 6bf8462

Browse files
committed
Broken pipe fix
1 parent 5e4fe69 commit 6bf8462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_license/check_headers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ done
6969

7070
if [ $CHECK_ALL -eq 0 ]; then
7171
CURRENT_COMMIT=$($GIT --no-pager log --pretty=%H -1)
72-
MERGE_BASE=$($GIT merge-base HEAD origin/master 2>/dev/null)
72+
MERGE_BASE=$($GIT merge-base HEAD origin/main 2>/dev/null)
7373
[ -z $MERGE_BASE ] && \
7474
MERGE_BASE=$($GIT --no-pager log --pretty="%cN:%H" | grep GitHub | head -n1 | cut -d: -f2)
7575
[ -z $MERGE_BASE -o "$CURRENT_COMMIT" = "$MERGE_BASE" ] && \

0 commit comments

Comments
 (0)