From e5c4ff37a6731949e78837cfb2802a72e25a316b Mon Sep 17 00:00:00 2001 From: Adarshan Naiynar Sivashunmugam Date: Thu, 23 May 2019 13:01:42 +0530 Subject: [PATCH 1/2] Changed error message when git is not installed --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index 0679b54..4bbb790 100755 --- a/cli.js +++ b/cli.js @@ -13,7 +13,7 @@ shell.touch(fileName); shell.echo('\nSetting Git aliases...\n'.green.bold); if (!shell.which('git')) { - shell.echo('I see git is not installed in your system. Please install Git and run this script! :)'.red); + shell.echo('I see git program is not installed in your system. Please install Git and run this script! :)'.red); shell.exit(1); } else { Object.keys(commandConfig).forEach((alias) => { From a1f4784e45596e02c32a02250cba183b2906d795 Mon Sep 17 00:00:00 2001 From: Adarshan Naiynar Sivashunmugam Date: Thu, 23 May 2019 13:07:55 +0530 Subject: [PATCH 2/2] Addressing code review comments --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index 4bbb790..ef3caba 100755 --- a/cli.js +++ b/cli.js @@ -13,7 +13,7 @@ shell.touch(fileName); shell.echo('\nSetting Git aliases...\n'.green.bold); if (!shell.which('git')) { - shell.echo('I see git program is not installed in your system. Please install Git and run this script! :)'.red); + shell.echo('I see Git program is not installed in your system. Please install Git and run this script! :)'.red); shell.exit(1); } else { Object.keys(commandConfig).forEach((alias) => {