mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
fix: changed the exit code for info flag (#1537)
* fix: changed the exit code for info flag * fix: changed the exit code for info
This commit is contained in:
parent
0aba1c36d9
commit
cbea2edecb
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ if (commander.info) {
|
|||
});
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(data);
|
||||
process.exit(1);
|
||||
process.exit(0);
|
||||
})();
|
||||
} else if (commander.args.length == 1 && !commander.config) {
|
||||
// handling "verdaccio [config]" case if "-c" is missing in command line
|
||||
|
|
Loading…
Reference in a new issue