Skip to content

Commit 58c9351

Browse files
committed
Add fs.WriteStream stub, so fs-write-stream-atomic can inherit. Ref GH-2
1 parent 958fdcd commit 58c9351

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

webnpm.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ fs.statSync = function(file) {
9696

9797
fs.readdirSync = window.staticReaddirSync;
9898

99+
// TODO: browserify-fs WriteStream
100+
var stream = require('stream');
101+
fs.WriteStream = stream.Writable;
102+
99103
main(fs);
100104

101105
function main() {

0 commit comments

Comments
 (0)