From cbea2edecbb161497dede593d2388896142956c4 Mon Sep 17 00:00:00 2001 From: Anix Date: Wed, 30 Oct 2019 13:03:05 +0530 Subject: [PATCH] fix: changed the exit code for info flag (#1537) * fix: changed the exit code for info flag * fix: changed the exit code for info --- src/lib/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/cli.ts b/src/lib/cli.ts index bd66f0db4..3db4158f5 100644 --- a/src/lib/cli.ts +++ b/src/lib/cli.ts @@ -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