Closed leagris closed 3 years ago
@leagris thanks for the report. Could you file that upstream in https://github.com/mvdan/sh please since that's the utility that actually does the formatting. This atom plugin just calls mvdan/sh to do the formatting.
Thank-you for the reminder!
My apologies, now reported as https://github.com/mvdan/sh/issues/616
Arrays joined using the
$IFS
environment variable (${array[*]}
) within an arithmetic expression are, wrongly reformatted asarray[*]
.sum=$((${values[*]}))
is erroneously reformatted assum=$((values[*]))