Fix hound violations
This commit is contained in:
parent
d8860212d2
commit
80122c9bba
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(`${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