diff --git a/.gitgo b/.gitgo index 62a3d2c..72408ed 100644 --- a/.gitgo +++ b/.gitgo @@ -31,9 +31,10 @@ "fix-commit", "issuetype-rec", "main", - "readme" + "readme", + "recommendation-text-color" ], - "current_branch": "recommendation-text-color", - "current_commit_message": ":art: cli: change recommended text color to green\n", - "use_emojis": false + "current_branch": "capitalizing-default-value", + "current_commit_message": ":pencil: cli: Capitalizing default value on pressing enter", + "use_emojis": true } \ No newline at end of file diff --git a/lib/inquirer.js b/lib/inquirer.js index 9d10a4b..c3bf2fc 100644 --- a/lib/inquirer.js +++ b/lib/inquirer.js @@ -99,8 +99,8 @@ module.exports = { }) inquirer.prompt([ { - // expects issue number as response - type: 'string', message: 'Would you be using emojis in your commit messages?(y/n)', name: 'emojis' + // expects yes and no as response + type: 'string', message: 'Would you be using emojis in your commit messages?(y/N)', name: 'emojis' } ]).then( ans2 => { @@ -120,7 +120,7 @@ module.exports = { if (err) console.log('Error writing file:', err) }) }) - console.log("\nSettings for your repo have been stored. Run gg start before working on an issue to get the branch name and commit title automatically. If you would like to change any settings manually, please edit the .gitgo file.\n") + console.log("\nSettings for your repo have been stored. Run gg start before working on an issue to get the branch name and commit title automatically. If you would like to change any settings manually, please edit the .gitgo file.\n") } ) } @@ -139,8 +139,8 @@ module.exports = { }) inquirer.prompt([ { - // expects issue number as response - type: 'string', message: 'Would you be using emojis in your commit messages?(y/n)', name: 'emojis' + // expects yes and no as response + type: 'string', message: 'Would you be using emojis in your commit messages?(y/N)', name: 'emojis' } ]).then( ans2 => { @@ -160,7 +160,7 @@ module.exports = { if (err) console.log('Error writing file:', err) }) }) - console.log("\nSettings for your repo have been stored. Run gg start before working on an issue to get the branch name and commit title automatically. If you would like to change any settings manually, please edit the .gitgo file.\n") + console.log("\nSettings for your repo have been stored. Run gg start before working on an issue to get the branch name and commit title automatically. If you would like to change any settings manually, please edit the .gitgo file.\n") } ) }