mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
fix the bash array loop
This commit is contained in:
parent
6ff4b41f2e
commit
121cce7e51
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ if [ $result != 0 ]; then
|
|||
printf "\033[0;31mfail\033[0m \n"
|
||||
printf "[pre_commit] the following files need formatting: \n"
|
||||
|
||||
for file in $problem_files; do
|
||||
for file in ${problem_files[@]}; do
|
||||
printf " cargo +nightly fmt -- $file\n"
|
||||
done
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue