mirror of https://github.com/nodejs/node.git
lint
parent
3644b0bc96
commit
3e0757c101
|
@ -1108,7 +1108,7 @@ fs.realpath = function realpath(p, cache, cb) {
|
|||
|
||||
// On windows, check that the root exists. On unix there is no need.
|
||||
if (isWindows && !knownHard[base]) {
|
||||
fs.lstat(base, function (err) {
|
||||
fs.lstat(base, function(err) {
|
||||
if (err) return cb(err);
|
||||
knownHard[base] = true;
|
||||
LOOP();
|
||||
|
|
Loading…
Reference in New Issue