Fix parentheses

This commit is contained in:
RLRabinowitz 2023-08-28 14:02:10 +03:00
parent 92b201da37
commit c67cf3a522

View File

@ -45,7 +45,7 @@ jobs:
- name: Normalise execution time based changes - name: Normalise execution time based changes
shell: bash shell: bash
run: | run: |
changed_execution_time=${git diff --quiet -S "complete after 0s" -- testing/equivalence-tests/outputs || echo true) changed_execution_time=$(git diff --quiet -S "complete after 0s" -- testing/equivalence-tests/outputs || echo true)
if [[ $changed == "true" ]]; then if [[ $changed == "true" ]]; then
echo "Found changes in the execution times in the result outputs. Defaulting the execution times to 0" echo "Found changes in the execution times in the result outputs. Defaulting the execution times to 0"
find testing/equivalence-tests/outputs -type f -name "apply.json" -exec sed -E -i 's/complete after [0-9]+s/complete after 0s/g' {} + find testing/equivalence-tests/outputs -type f -name "apply.json" -exec sed -E -i 's/complete after [0-9]+s/complete after 0s/g' {} +