From 5b740c488f0e4251a3e534cab79da8b05df7a195 Mon Sep 17 00:00:00 2001 From: isaacs Date: Tue, 18 May 2010 23:04:24 -0700 Subject: [PATCH] Fix a leaking global --- lib/fs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fs.js b/lib/fs.js index 65469287bc..ec5a113eb8 100644 --- a/lib/fs.js +++ b/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;