forked from engineering/cloudservices
testing
parent
d9cc8ac1ec
commit
00343fe7f3
|
@ -22,7 +22,7 @@ export default class Load extends Command {
|
||||||
const corepath = '/var/CloudServices/dist';
|
const corepath = '/var/CloudServices/dist';
|
||||||
if (type === 'config') this.client.config = require(`${corepath}/config.json`);
|
if (type === 'config') this.client.config = require(`${corepath}/config.json`);
|
||||||
else if (type === 'util') {
|
else if (type === 'util') {
|
||||||
const Util = require(`${corepath}/class/Util`).default;
|
const Util = require(`${corepath}/class/Util`);
|
||||||
this.client.util = new Util(this.client);
|
this.client.util = new Util(this.client);
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue