Use process.mixin instead of sys.mixin
The process namespace has not been cleaned up yet, so mixin is still attached to process.
This commit is contained in:
parent
18a70ffda1
commit
9415ca909e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user