We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cd0a16 commit 36b96f2Copy full SHA for 36b96f2
packages/remote/src/index.js
@@ -130,7 +130,10 @@ async function killOrphans() {
130
force: process.platform === 'win32',
131
});
132
} catch (err) {
133
- if (/(Process doesn't exist|No such process)/.test(err.message)) {
+ // A new error type in execa v9
134
+ if (err.message.includes('ExecaError: Command was killed with SIGTERM (Termination)')) {
135
+ debug(err.message);
136
+ } else if (/(Process doesn't exist|No such process)/.test(err.message)) {
137
debug(err.message);
138
} else {
139
// Sometimes you get "Killing process 30602 failed"
0 commit comments