File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -73,4 +73,9 @@ test_script:
7373 - node --version
7474 - npm --version
7575 # run tests
76+ - cd
77+ - npm run tests-only
78+ - ' subst X: ..'
79+ - ' cd /d X:\resolve'
80+ - cd
7681 - npm run tests-only
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ var nodeModulesPaths = require('./node-modules-paths');
66var normalizeOptions = require ( './normalize-options' ) ;
77var isCore = require ( 'is-core-module' ) ;
88
9- var realpathFS = fs . realpath && typeof fs . realpath . native === 'function' ? fs . realpath . native : fs . realpath ;
9+ var realpathFS = process . platform !== 'win32' && fs . realpath && typeof fs . realpath . native === 'function' ? fs . realpath . native : fs . realpath ;
1010
1111var homedir = getHomedir ( ) ;
1212var defaultPaths = function ( ) {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ var caller = require('./caller');
66var nodeModulesPaths = require ( './node-modules-paths' ) ;
77var normalizeOptions = require ( './normalize-options' ) ;
88
9- var realpathFS = fs . realpathSync && typeof fs . realpathSync . native === 'function' ? fs . realpathSync . native : fs . realpathSync ;
9+ var realpathFS = process . platform !== 'win32' && fs . realpathSync && typeof fs . realpathSync . native === 'function' ? fs . realpathSync . native : fs . realpathSync ;
1010
1111var homedir = getHomedir ( ) ;
1212var defaultPaths = function ( ) {
You can’t perform that action at this time.
0 commit comments