update wrapper to fix json error
This commit is contained in:
parent
1865f4da7d
commit
899a560f49
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
var startupCmd = "";
|
||||
const fs = require("fs");
|
||||
fs.writeFile("latest.log", "\n" + json.Message, (err) => {
|
||||
fs.writeFile("latest.log", "", (err) => {
|
||||
if (err) console.log("Callback error in appendFile:"+err);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user