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.97k stars 332 forks source link

chore: remove refs to deprecated io/ioutil #1016

Closed testwill closed 1 year ago

mvdan commented 1 year ago

Hm, this appears to break the tests. I guess in some edge cases the behavior is subtly different. I honestly don't think it's worth spending the time to figure out why; per the TODO, I will swap out the API in v4 to use fs.DirEntry directly. Thanks again for the PR.