Skip to content

Commit 829e51b

Browse files
r0qsclonker
authored andcommitted
Fix check_style.sh exiting with error when no issues found
1 parent 974d2ef commit 829e51b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/check_style.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ FORMATSTDERROR=$(
7373
)
7474

7575
# Merge errors into single string
76-
FORMATEDERRORS=$(printf '%s\n' "$FORMATERROR" "$FORMATSTDERROR" | grep -v '^$')
76+
FORMATEDERRORS=$(printf '%s\n' "$FORMATERROR" "$FORMATSTDERROR" | grep -v '^$' || true)
7777

7878
if [[ "$FORMATEDERRORS" != "" ]]
7979
then

0 commit comments

Comments
 (0)