test: use spawnSync() full name · nodejs/node@b1e4387 · GitHub
Skip to content

Commit b1e4387

Browse files
Trottdanielleadams
authored andcommitted
test: use spawnSync() full name
test-cli-bad-options.js uses `spawnSync()` but renames it as `spawn()` which caused me a bit of confusion for a bit until I realized what was going on. Rename the variable `spawnSync()` for readability/maintainability. PR-URL: #41327 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 9f2365c commit b1e4387

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/parallel/test-cli-bad-options.js

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)