-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Closed
Labels
invalidIssues and PRs that are invalid.Issues and PRs that are invalid.
Description
every call to appendFileSync writes the string twice to the file!! what to do?
here's my code:
var http = require('http');
var fs = require('fs');
http.createServer(function (req, res) {
fs.appendFileSync('1.txt', 'A', 'utf8');
res.write('123');
res.end();
}).listen(9999);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidIssues and PRs that are invalid.Issues and PRs that are invalid.