Skip to content

fix: fs.appendFileSync should use flag instead of flags#1257

Merged
lamweili merged 1 commit intomasterfrom
fixes-fs.appendFileSync
May 23, 2022
Merged

fix: fs.appendFileSync should use flag instead of flags#1257
lamweili merged 1 commit intomasterfrom
fixes-fs.appendFileSync

Conversation

@lamweili
Copy link
Copy Markdown
Contributor

Strangely, fs.appendFileSync uses flag but fs.createWriteStream uses flags.

It's somewhat inconsistent throughout the Node.js documentation:
https://nodejs.org/api/fs.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant