Skip to content

Commit

Permalink
fix(external PR, twt--): Remove quotes $artifacts_to_transpile in the…
Browse files Browse the repository at this point in the history
… for loop list of compile_then_transpile.sh (#8932)

Thanks twt-- for
#8845. Our policy is
to redo typo changes to dissuade metric farming. This is an automated
script.

Co-authored-by: Tim Tickel <[email protected]>
Co-authored-by: ludamad <[email protected]>
  • Loading branch information
3 people authored Oct 3, 2024
1 parent 39b9e78 commit 95cb977
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion avm-transpiler/scripts/compile_then_transpile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ artifacts_to_transpile=$($NARGO compile --show-artifact-paths $@ | tee /dev/tty
# If the script is run via docker, however, the user will see this output on stdout and will be able to redirect.

# Transpile each artifact
for artifact in "$artifacts_to_transpile"; do
# `$artifacts_to_transpile` needs to be unquoted here, otherwise it will break if there are multiple artifacts
for artifact in $artifacts_to_transpile; do
# transpiler input and output files are the same (modify in-place)
$TRANSPILER "$artifact" "$artifact"
done

0 comments on commit 95cb977

Please sign in to comment.