diff options
Diffstat (limited to 'node_modules/shelljs/src/find.js')
-rw-r--r-- | node_modules/shelljs/src/find.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/shelljs/src/find.js b/node_modules/shelljs/src/find.js index 625aa2972..76a16c4ee 100644 --- a/node_modules/shelljs/src/find.js +++ b/node_modules/shelljs/src/find.js @@ -30,7 +30,7 @@ function _find(options, paths) { var list = []; function pushFile(file) { - if (common.platform === 'win') { + if (process.platform === 'win32') { file = file.replace(/\\/g, '/'); } list.push(file); |