mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 17:04:49 +08:00
missing new line in logs
This commit is contained in:
parent
debee5bd5e
commit
c4c236a691
1 changed files with 2 additions and 2 deletions
|
@ -217,13 +217,13 @@ async function migrateUsers() {
|
|||
);
|
||||
fs.appendFileSync(
|
||||
"log_success.txt",
|
||||
`${uid} ${userData.name} ${total}`,
|
||||
`${uid} ${userData.name} ${total} \n`,
|
||||
"utf8"
|
||||
);
|
||||
} catch (err) {
|
||||
console.log(`${uid} failed`);
|
||||
console.log(err);
|
||||
fs.appendFileSync("log_failed.txt", `${uid} ${err.message}`, "utf8");
|
||||
fs.appendFileSync("log_failed.txt", `${uid} ${err.message} \n`, "utf8");
|
||||
}
|
||||
fs.writeFileSync("lastId.txt", uid, "utf8");
|
||||
let userend = performance.now();
|
||||
|
|
Loading…
Reference in a new issue