fix version return
This commit is contained in:
parent
d65061aaaa
commit
5ee866d9c6
6
dist/smartcli.classes.smartcli.js
vendored
6
dist/smartcli.classes.smartcli.js
vendored
File diff suppressed because one or more lines are too long
@ -47,7 +47,7 @@ export class Smartcli {
|
||||
let done = plugins.q.defer();
|
||||
this.parseStarted.promise
|
||||
.then(() => {
|
||||
if(this.argv._.length == 0 || !this.argv.v){
|
||||
if(this.argv._.length == 0 && !this.argv.v){
|
||||
done.resolve();
|
||||
} else {
|
||||
done.reject();
|
||||
|
Loading…
Reference in New Issue
Block a user