mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
fix: cloudcmd: bin: --show-config
This commit is contained in:
parent
1444550865
commit
59037f2c18
1 changed files with 2 additions and 2 deletions
|
|
@ -298,8 +298,8 @@ function port(arg) {
|
|||
}
|
||||
|
||||
async function showConfig() {
|
||||
const show = await simport('../server/show-config');
|
||||
const data = show(config('*'));
|
||||
const {showConfig} = await import('../server/show-config.js');
|
||||
const data = showConfig(config('*'));
|
||||
|
||||
console.log(data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue