fix version display
This commit is contained in:
parent
2352456be1
commit
bfcd78b169
4
dist/npmts.cli.js
vendored
4
dist/npmts.cli.js
vendored
@ -50,7 +50,9 @@ exports.run = () => {
|
||||
.then(NpmtsShip.run);
|
||||
return done.promise;
|
||||
})
|
||||
.catch((err) => { console.log(err); });
|
||||
.catch((err) => { if (err instanceof Error) {
|
||||
console.log(err);
|
||||
} });
|
||||
npmtsCli.addVersion(npmtsProjectInfo.version);
|
||||
npmtsCli.startParse();
|
||||
return done.promise;
|
||||
|
@ -53,7 +53,7 @@ export let run = () => {
|
||||
|
||||
return done.promise
|
||||
})
|
||||
.catch((err) => { console.log(err) })
|
||||
.catch((err) => { if (err instanceof Error) { console.log(err) } } )
|
||||
npmtsCli.addVersion(npmtsProjectInfo.version)
|
||||
npmtsCli.startParse()
|
||||
return done.promise
|
||||
|
Loading…
Reference in New Issue
Block a user