From 27ab3dc60779422a41d047ab1ee23a541ff025e6 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 4 Apr 2021 11:46:00 -0400 Subject: [PATCH] Fix lint --- util/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/Util.js b/util/Util.js index 76ecf2f1..7b13222e 100644 --- a/util/Util.js +++ b/util/Util.js @@ -200,7 +200,7 @@ module.exports = class Util { } static checkFileExists(filepath) { - return new Promise((res) => fs.access(filepath, fs.constants.F_OK, error => res(!error))); + return new Promise(res => fs.access(filepath, fs.constants.F_OK, error => res(!error))); } static stripInvites(str, { guild = true, bot = true, text = '[redacted invite]' } = {}) {