| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
|
||
| fs.open(fn, 'w', 0o644, common.mustCall(function(err, fd) { | ||
| assert.ifError(err); | ||
| console.log('open done'); |
There was a problem hiding this comment.
I think these console statements can be left out.
Sorry, something went wrong.
There was a problem hiding this comment.
done, thanks!
Sorry, something went wrong.
| fs.open(fn, 'w', 0o644, common.mustCall(function(err, fd) { | ||
| assert.ifError(err); | ||
| const done = common.mustCall(function(err, written) { | ||
| assert.strictEqual(Buffer.byteLength(expected), written); |
There was a problem hiding this comment.
Maybe add an assert.ifError(err); here.
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Checklist