Skip to content

Commit

Permalink
fixing log issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmurakami committed Jul 31, 2021
1 parent 6c29c41 commit aaafade
Show file tree
Hide file tree
Showing 3 changed files with 1,269 additions and 103 deletions.
2 changes: 1 addition & 1 deletion lib/good-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const internals = {
class GoodFile extends fs.WriteStream {
constructor (path, options) {
const settings = Object.assign({}, internals.defaults, options)
settings.fd = -1 // prevent open from being called in `super`
settings.fd = 1 // prevent open from being called in `super`

super(path, settings)
this.open()
Expand Down
Loading

0 comments on commit aaafade

Please sign in to comment.