Skip to content

Commit

Permalink
Post review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jszczerbinski committed Dec 11, 2024
1 parent 58a0537 commit 3c3f485
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/scripts/warning_report.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

if [ ! -f ci/scripts/warnings_baseline.json ]; then
if [[ ! -f ci/scripts/warnings_baseline.json ]];
then
echo "Baseline file does not exist."
echo "[]" > ci/scripts/warnings_baseline.json
fi
Expand All @@ -14,7 +15,7 @@ fi

if [[ "$(head -n 1 report.md)" == "### Failed" ]];
then
if [[ "${BRANCH_NAME}" == "master" ]]
if [[ "${BRANCH_NAME}" == "master" ]];
then
echo "Failures are ignored on master since there is no base branch to reference."
exit 0
Expand Down

0 comments on commit 3c3f485

Please sign in to comment.