mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(terminal) prevent init when config disabled
This commit is contained in:
parent
01a09a5f90
commit
48779742e3
1 changed files with 3 additions and 0 deletions
|
|
@ -45,6 +45,9 @@ const loadAll = async () => {
|
|||
};
|
||||
|
||||
module.exports.init = async () => {
|
||||
if (!config('terminal'))
|
||||
return;
|
||||
|
||||
Images.show.load('top');
|
||||
|
||||
await CloudCmd.View();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue