Fixed redirection
This commit is contained in:
parent
2b04eebcab
commit
d07ca171f9
|
@ -56,7 +56,8 @@ function __readdirSync_fix(path)
|
|||
var sysnative = false;
|
||||
pathstr = require('fs')._fixwinpath(path);
|
||||
if (pathstr.split('\\*').join('').toLowerCase() == process.env['windir'].toLowerCase()) { sysnative = true; }
|
||||
var ret = __readdirSync_old(path);
|
||||
|
||||
var ret = require('fs').__readdirSync_old(path);
|
||||
if (sysnative) { ret.push('sysnative'); }
|
||||
return (ret);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue