Fix hound violations

This commit is contained in:
vylpes 2020-10-28 17:53:56 +00:00
parent 44f2f63499
commit d8860212d2

View file

@ -10,7 +10,7 @@ class util {
for (let c = 0; c < this._client.config.commands.length; c++) { for (let c = 0; c < this._client.config.commands.length; c++) {
let folder = this._client.config.commands[c]; let folder = this._client.config.commands[c];
stat(`${process.cwd()}/${folder}/${name}.js`, (err, stat) => { stat(`${process.cwd()}/${folder}/${name}.js`, (err) => {
if (err == null) { if (err == null) {
let commandFile = require(`${process.cwd()}/${folder}/${name}.js`); let commandFile = require(`${process.cwd()}/${folder}/${name}.js`);
let command = new commandFile(); let command = new commandFile();