Skip to content

Commit

Permalink
fix: exit with error when no matchups
Browse files Browse the repository at this point in the history
  • Loading branch information
BlairCurrey committed Feb 18, 2024
1 parent fe6b04f commit df73eef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/train-spread-predictor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ jobs:
if [[ $matchups_count -eq 0 ]]; then
echo "Error: Latest matchups file is empty."
exit 0
exit 1
fi
else
echo "Error: Latest matchups file not found."
exit 0
exit 1
fi
echo "LATEST_MATCHUP_FILE=$latest_matchups_file" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit df73eef

Please sign in to comment.