Browse Source

Fix a leaking global

v0.7.4-release
isaacs 15 years ago
committed by Ryan Dahl
parent
commit
5b740c488f
  1. 4
      lib/fs.js

4
lib/fs.js

@ -399,8 +399,8 @@ fs.unwatchFile = function (filename) {
// Realpath
var path = require('path');
var normalize = path.normalize
normalizeArray = path.normalizeArray;
var normalize = path.normalize;
var normalizeArray = path.normalizeArray;
fs.realpathSync = function (path) {
var seen_links = {}, knownHards = {}, buf, i = 0, part, x, stats;

Loading…
Cancel
Save