File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
const common = require ( '../common' ) ;
3
+ const fixtures = require ( '../common/fixtures' ) ;
3
4
const assert = require ( 'assert' ) ;
4
5
const child = require ( 'child_process' ) ;
5
6
const path = require ( 'path' ) ;
@@ -62,7 +63,7 @@ if (common.isWindows) {
62
63
// Test resolving the current Windows drive letter from a spawned process.
63
64
// See https://github.com/nodejs/node/issues/7215
64
65
const currentDriveLetter = path . parse ( process . cwd ( ) ) . root . substring ( 0 , 2 ) ;
65
- const resolveFixture = path . join ( common . fixturesDir , 'path-resolve.js' ) ;
66
+ const resolveFixture = fixtures . path ( 'path-resolve.js' ) ;
66
67
const spawnResult = child . spawnSync (
67
68
process . argv [ 0 ] , [ resolveFixture , currentDriveLetter ] ) ;
68
69
const resolvedPath = spawnResult . stdout . toString ( ) . trim ( ) ;
You can’t perform that action at this time.
0 commit comments