Skip to content

Commit 19a44da

Browse files
committed
tryfix race condition on log writing 4
1 parent 7a2f9ab commit 19a44da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function deploy(config, ready) {
4545
let txtLogger = undefined;
4646
if (config.log !== "") {
4747
txtLogger = fs.createWriteStream(config.log, {
48-
flags: 'a'
48+
flags: 'as'
4949
});
5050
}
5151

0 commit comments

Comments
 (0)