mvdan / sh

A shell parser, formatter, and interpreter with bash support; includes shfmt
https://pkg.go.dev/mvdan.cc/sh/v3
BSD 3-Clause "New" or "Revised" License
6.98k stars 332 forks source link

interp: Fix (*Runner).errf missing new lines #1000

Closed diamondburned closed 1 year ago

diamondburned commented 1 year ago

Some of the errf calls were missing new lines, so I added them. One call is left where new lines are not wanted.

diamondburned commented 1 year ago

(For future reference) I've confirmed that the test changes were needed:

screenshot of output of `break` outside loop