From a8aabf99d85620aaf977851fcf21acccd22482bd Mon Sep 17 00:00:00 2001 From: Vylpes Date: Fri, 30 Oct 2020 23:06:17 +0000 Subject: [PATCH] Fix Hound Violations --- src/client/util.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/util.js b/src/client/util.js index bd6b0a7..67038bd 100644 --- a/src/client/util.js +++ b/src/client/util.js @@ -11,15 +11,15 @@ class util { // Load a command and send the arguments with it loadCommand(name, args, message) { - // Loop through all folders set in config - // c = command folder index + // Loop through all folders set in config + // c = command folder index for (let c = 0; c < this._client.config.commands.length; c++) { // Get the current folder to check let folder = this._client.config.commands[c]; // See if the folder being checked has the command being sent stat(`${process.cwd()}/${folder}/${name}.js`, err => { - // If no error, attempt to run the command + // If no error, attempt to run the command if (err == null) { // Require the command file, now that we know it exists and initialise it let commandFile = require(`${process.cwd()}/${folder}/${name}.js`);