Skip to content

Commit ffddf1d

Browse files
authored
Merge pull request #842 from acrobat/fix-bc-check-syntax-error
Fix error in bc-check script
2 parents 2a4def8 + 1fd92a7 commit ffddf1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/bc-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ OUTPUT=`echo "$OUTPUT" | sed '/Method __toString() was added to interface Github
3030
BC_BREAKS=`echo "$OUTPUT" | grep -o '\[BC\]' | wc -l | awk '{ print $1 }'`
3131

3232
# The last row of the output is "X backwards-incompatible changes detected". Find X.
33-
STATED_BREAKS=`echo "$OUTPUT" | tail -n 1 | awk -F' ' '{ print $1 }'`
33+
STATED_BREAKS=`echo "$OUTPUT" | tail -n 1 | awk -F' ' '{ print $1 }' | sed s/No/0/`
3434

3535
# If
3636
# We found "[BC]" in the command output after we removed suppressed lines

0 commit comments

Comments
 (0)