diff --git a/.ci/lint_wrap.sh b/.ci/lint_wrap.sh index b75c527..29626d9 100755 --- a/.ci/lint_wrap.sh +++ b/.ci/lint_wrap.sh @@ -1,7 +1,8 @@ set -o pipefail sh .ci/lint.sh 2>&1 | tee output_tmp.txt +EXIT_CODE=$? echo "\`\`\`" > output.txt grep 'msg=' output_tmp.txt | awk -F'msg="' '{print $2}' | sed 's/"$//' | sed 's/\\"/"/g' >> output.txt -echo $? echo "\`\`\`" >> output.txt -echo "END" \ No newline at end of file +echo "END" +exit $EXIT_CODE \ No newline at end of file