mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) save, then import
This commit is contained in:
parent
0b74250248
commit
b8a83868da
1 changed files with 2 additions and 3 deletions
|
|
@ -212,12 +212,11 @@ async function main() {
|
|||
|
||||
start(options, config);
|
||||
|
||||
await tryToCatch(checkUpdate);
|
||||
await importConfig(config);
|
||||
|
||||
if (args.save)
|
||||
config.write();
|
||||
|
||||
await tryToCatch(checkUpdate);
|
||||
await importConfig(config);
|
||||
}
|
||||
|
||||
function validateRoot(root, config) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue