From 39472709f0ab076f587e261dbaf026ddc6e55405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisend=C3=B6rfer?= Date: Mon, 8 Mar 2010 19:03:43 +0100 Subject: [PATCH] fs.createWriteStream throws fs undefined error The improved test suite now catches this bug, so hopefully thing like this will not happen again. See: http://github.com/ry/node/issues#issue/75 --- lib/fs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/fs.js b/lib/fs.js index 5b57b3603f..9461f2d820 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -1,6 +1,7 @@ var sys = require('sys'), - events = require('events'); + events = require('events'), + fs = require('fs'); exports.Stats = process.Stats;