Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .gitgo
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
12 changes: 6 additions & 6 deletions lib/inquirer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand All @@ -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")
}
)
}
Expand All @@ -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 => {
Expand All @@ -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")
}
)
}
Expand Down