Skip to content

Commit

Permalink
Do not error on blank supplemental
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Dec 16, 2024
1 parent 2d422cb commit c8d958f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/run-workbench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ fi

if [ -f input_data/target.update.csv ]; then
python3 workbench --config configs/update.yml
grep ERROR logs/update.log && exit 1 || echo "No errors"
grep ERROR logs/update.log | grep -Ev '"supplemental_file" in .* not created because CSV field is empty' && exit 1 || echo "No errors"
fi

if [ -f input_data/target.csv ]; then
python3 workbench --config configs/create.yml
grep ERROR logs/items.log && exit 1 || echo "No errors"
grep ERROR logs/items.log | grep -Ev '"supplemental_file" in .* not created because CSV field is empty' && exit 1 || echo "No errors"
fi

0 comments on commit c8d958f

Please sign in to comment.