sindresorhus / execa

Process execution for humans
MIT License
6.87k stars 219 forks source link

Fix stream-related tests with Node 22.5.0 #1136

Closed ehmicky closed 3 months ago

ehmicky commented 3 months ago

Node 22.5.0 introduced some changes to error handling with stream.pipeline(): https://github.com/nodejs/node/pull/53462

Those changes are making some of our tests fail (https://github.com/sindresorhus/execa/actions/runs/9628628974). This PR is fixing those.