mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 15:35:55 -04:00
expand !!
manually to help shellcheck
This commit is contained in:
parent
0e31386ed8
commit
971ea5f8d5
@ -107,9 +107,10 @@ jobs:
|
||||
echo "Own measurements for $attestationVariant:"
|
||||
ts " " < "$attestationVariant"_own-measurements.json
|
||||
|
||||
# TODO: cache errors and return them later.
|
||||
# not using $? since shellcheck complained about that, so code duplication seems to be
|
||||
# a better tradeoff
|
||||
if ! jd ./"$attestationVariant"_their-measurements.json ./"$attestationVariant"_own-measurements.json; then
|
||||
errors["$attestationVariant"]="$(!!)"
|
||||
errors["$attestationVariant"]="$(jd ./"$attestationVariant"_their-measurements.json ./"$attestationVariant"_own-measurements.json)"
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user