Fix hound violations
This commit is contained in:
parent
44f2f63499
commit
d8860212d2
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Reference in a new issue