diff options
author | ZYSzys <zyszys98@gmail.com> | 2019-05-12 15:11:13 +0800 |
---|---|---|
committer | ZYSzys <zyszys98@gmail.com> | 2019-05-13 19:39:34 +0800 |
commit | dcc5e51e1cb4e102effd7fc515681446b07e428e (patch) | |
tree | 63f566515f8150bbe96e63426293bc802c84eb38 /test/parallel/test-child-process-spawnsync-args.js | |
parent | 618fcbd125c386b7bfb37cbc4dce12a694a4ee22 (diff) | |
download | android-node-v8-dcc5e51e1cb4e102effd7fc515681446b07e428e.tar.gz android-node-v8-dcc5e51e1cb4e102effd7fc515681446b07e428e.tar.bz2 android-node-v8-dcc5e51e1cb4e102effd7fc515681446b07e428e.zip |
tools: force common be required before any other modules
PR-URL: https://github.com/nodejs/node/pull/27650
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test/parallel/test-child-process-spawnsync-args.js')
-rw-r--r-- | test/parallel/test-child-process-spawnsync-args.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-child-process-spawnsync-args.js b/test/parallel/test-child-process-spawnsync-args.js index 96de8670f1..4e65b22f6e 100644 --- a/test/parallel/test-child-process-spawnsync-args.js +++ b/test/parallel/test-child-process-spawnsync-args.js @@ -6,12 +6,12 @@ // caused the third argument (`options`) to be ignored. // See https://github.com/nodejs/node/issues/24912. -const assert = require('assert'); -const { spawnSync } = require('child_process'); - const common = require('../common'); const tmpdir = require('../common/tmpdir'); +const assert = require('assert'); +const { spawnSync } = require('child_process'); + const command = common.isWindows ? 'cd' : 'pwd'; const options = { cwd: tmpdir.path }; |