From 2278176608ec6e77bc6029980b169008cb34f3ab Mon Sep 17 00:00:00 2001 From: Danielv123 Date: Sun, 2 Apr 2017 15:17:17 +0200 Subject: [PATCH] Suppressed error --- client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.js b/client.js index 48035ff4..7e4c8dd3 100644 --- a/client.js +++ b/client.js @@ -354,7 +354,7 @@ function instanceManagement() { if(fs.existsSync(instancedirectory + "/script-output/tempfile.txt")) { var data = fs.readFileSync(instancedirectory + "/script-output/tempfile.txt", "utf8").split("\n"); // delete when we are done - fs.unlink(instancedirectory + "/script-output/tempfile.txt"); + fs.unlink(instancedirectory + "/script-output/tempfile.txt", function(){}); } // if we actually got anything from the file, proceed to categorize it if (data && data[0]) {