mirror of
https://github.com/nodejs/node.git
synced 2026-12-04 18:59:05 -05:00
test: fix comment typo
PR-URL: https://github.com/nodejs/node/pull/38161 Refs: https://github.com/nodejs/node/discussions/36481 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
1 parent
e10525f76e
commit
0955aae47a
1 file changed
+1
-1
@@ -16,7 +16,7 @@ function launchTarget(...args) {
|
||||
const childProc = spawn(process.execPath, args);
|
||||
return new Promise((resolve, reject) => {
|
||||
const onExit = () => {
|
||||
reject(new Error('Child process exits unexpectly'));
|
||||
reject(new Error('Child process exits unexpectedly'));
|
||||
};
|
||||
childProc.on('exit', onExit);
|
||||
childProc.stderr.setEncoding('utf8');
|
||||
|
||||
Reference in new issue
Block a user