Skip to content

Commit

Permalink
Don't use printf without a format string
Browse files Browse the repository at this point in the history
  • Loading branch information
glennj authored Nov 12, 2024
1 parent a3ba5a7 commit 2fd1c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test_output=$(uiua test "${solution_dir}/tests.ua")
if [ $? -eq 0 ]; then
jq -n '{version: 1, status: "pass"}' > ${results_file}
else
if printf "${test_output}" | grep -q -E "tests? (failed|passed)"; then
if printf '%s\n' "${test_output}" | grep -q -E "tests? (failed|passed)"; then
status="fail"
else
status="error"
Expand Down

0 comments on commit 2fd1c7e

Please sign in to comment.