feat: add node 16 (#9847)

* feat: add node 16

* fix: check errors in fork

* test: add use-spawn

* test: another test

* Revert "test: another test"

This reverts commit 606efe26fe.

* test: another test

* fix: lint

* fix: remove spawn-wrap

* test: comment out plugin installs

* fix: lint

* test: uncomment all tests except npm i

* fix: lint

* test: bring back tests

* test: remove leftover override
This commit is contained in:
Barış Soner Uşaklı
2021-11-04 00:09:14 -04:00
committed by GitHub
parent 67cb249122
commit d27c9696e3
5 changed files with 58 additions and 12 deletions

View File

@@ -14,6 +14,10 @@ function forkChild(message, callback) {
child.on('message', (msg) => {
callback(msg.err ? new Error(msg.err) : null, msg.result);
});
child.on('error', (err) => {
console.error(err.stack);
callback(err);
});
child.send(message);
}