fix(terminal) prevent init when config disabled

This commit is contained in:
coderaiser 2018-07-02 12:41:47 +03:00
parent 01a09a5f90
commit 48779742e3

View file

@ -45,6 +45,9 @@ const loadAll = async () => {
};
module.exports.init = async () => {
if (!config('terminal'))
return;
Images.show.load('top');
await CloudCmd.View();