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.
1 parent 10f1c89 commit 3ee4cfcCopy full SHA for 3ee4cfc
doc/api/stream.md
@@ -2078,10 +2078,9 @@ class WriteStream extends Writable {
2078
constructor(filename) {
2079
super();
2080
this.filename = filename;
2081
- this.fd = fd;
2082
}
2083
_construct(callback) {
2084
- fs.open(this.filename, (fd, err) => {
+ fs.open(this.filename, (err, fd) => {
2085
if (err) {
2086
callback(err);
2087
} else {
0 commit comments