From 9415ca909ea0e5e5c0b390fa60759952143beed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisend=C3=B6rfer?= Date: Wed, 3 Mar 2010 12:39:17 +0100 Subject: [PATCH] Use process.mixin instead of sys.mixin The process namespace has not been cleaned up yet, so mixin is still attached to process. --- lib/fs.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/fs.js b/lib/fs.js index 00f6168c15..24542ae0c4 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -1,5 +1,3 @@ -var sys = require('sys'); - exports.Stats = process.Stats; process.Stats.prototype._checkModeProperty = function (property) { @@ -391,7 +389,7 @@ var FileWriteStream = exports.FileWriteStream = function(path, options) { this.encoding = 'binary'; this.mode = 0666; - sys.mixin(this, options || {}); + process.mixin(this, options || {}); var self = this,