Skip to content

Commit 95cb977

Browse files
AztecBottwt--ludamad
authored
fix(external PR, twt--): Remove quotes $artifacts_to_transpile in the 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 <twt@clarified.io> Co-authored-by: ludamad <adam.domurad@gmail.com>
1 parent 39b9e78 commit 95cb977

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

avm-transpiler/scripts/compile_then_transpile.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ artifacts_to_transpile=$($NARGO compile --show-artifact-paths $@ | tee /dev/tty
2424
# If the script is run via docker, however, the user will see this output on stdout and will be able to redirect.
2525

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

0 commit comments

Comments
 (0)