0
Fork 0
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:
Anix 2019-10-30 13:03:05 +05:30 committed by Juan Picado @jotadeveloper
parent 0aba1c36d9
commit cbea2edecb

View file

@ -82,7 +82,7 @@ if (commander.info) {
}); });
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.log(data); console.log(data);
process.exit(1); process.exit(0);
})(); })();
} else if (commander.args.length == 1 && !commander.config) { } else if (commander.args.length == 1 && !commander.config) {
// handling "verdaccio [config]" case if "-c" is missing in command line // handling "verdaccio [config]" case if "-c" is missing in command line