We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac052e9 + e5491cb commit 69f0ba7Copy full SHA for 69f0ba7
1 file changed
lib/file.js
@@ -1,7 +1,7 @@
1
if (global.GENTLY) require = GENTLY.hijack(require);
2
3
var util = require('util'),
4
- WriteStream = require('fs').WriteStream,
+ fs = require('fs'),
5
EventEmitter = require('events').EventEmitter,
6
crypto = require('crypto');
7
@@ -31,7 +31,7 @@ module.exports = File;
31
util.inherits(File, EventEmitter);
32
33
File.prototype.open = function() {
34
- this._writeStream = new WriteStream(this.path);
+ this._writeStream = new fs.WriteStream(this.path);
35
};
36
37
File.prototype.toJSON = function() {
0 commit comments