From 750bd105598cac528160329a8b89d04b79042702 Mon Sep 17 00:00:00 2001 From: gardenapple Date: Fri, 15 Oct 2021 19:12:50 +0300 Subject: [PATCH] Replace process.exit with return; fixes y18n updateFiles --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b55b68b..6af4dbf 100755 --- a/index.js +++ b/index.js @@ -318,7 +318,7 @@ function printUsage() { if (args["completion"]) { yargs.showCompletionScript(); - process.exit(); + return; }