From a9235cc1b07cd209240e684ffc9c03cbffd7a742 Mon Sep 17 00:00:00 2001 From: YourFriendlyNeighborhoodDealer <3167982-YourFriendlyNeighborhoodDealer@users.noreply.gitlab.com> Date: Fri, 21 Dec 2018 10:18:32 +0100 Subject: [PATCH] Readme update, and small log fix --- README.md | 2 +- utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8491e40..8fe3238 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ Question server Install: - npm install connect-busboy ejs express-layout querystring express + npm install express connect-busboy ejs express-layout querystring express some stuff maybe missing diff --git a/utils.js b/utils.js index b61d506..ac9f9c9 100644 --- a/utils.js +++ b/utils.js @@ -36,7 +36,7 @@ function WriteFileAsync(content, path) { function AppendToFile(data, file) { fs.appendFile(file, "\n" + data, function(err) { if (err) - logger.Log("[ERR ]: Error writing log file: " + path + " (sync)", logger.GetColor("redbg")); + logger.Log("[ERR ]: Error writing log file: " + file + " (sync)", logger.GetColor("redbg")); }); }