mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(cloudcmd) ignore commandl line options when --save flag set
This commit is contained in:
parent
3c538da449
commit
ef0fb11a23
1 changed files with 5 additions and 3 deletions
|
|
@ -89,10 +89,12 @@
|
|||
if (args.password)
|
||||
options.password = args.password;
|
||||
|
||||
if (args.save)
|
||||
config.save(start);
|
||||
else
|
||||
if (!args.save)
|
||||
start(options);
|
||||
else
|
||||
config.save(function() {
|
||||
start(options);
|
||||
});
|
||||
}
|
||||
|
||||
function deprecate(was, became) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue