Skip to content

Commit

Permalink
chore: 🤖 Added closedIssuePrefix and closedIssueMessage
Browse files Browse the repository at this point in the history
Also fixes a kint error in runInteractiveQuestions.js, //
eslint-disable-next-line no-inline-comments

✅ Closes: streamich#303
  • Loading branch information
viktorlarsson committed Sep 30, 2021
1 parent 9468895 commit 9719f17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ Below is default config:
```js
module.exports = {
"disableEmoji": false,
"closedIssuePrefix": "✅ ",
"closedIssueMessage": "Closes: ",
"list": [
"test",
"feat",
Expand Down
1 change: 1 addition & 0 deletions lib/runInteractiveQuestions.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ inquirer.registerPrompt('autocomplete', AutocompletePrompt);
// promptQuestions = promptQuestions.concat(createPackagesQuestion(allPackages, changedPackages));
// }

// eslint-disable-next-line no-inline-comments
const runInteractiveQuestions = async (state, cliAnswers = /* cliAnswers default empty */ {}) => {
Object.keys(cliAnswers).forEach((key) => {
state.answers[key] = cliAnswers[key];
Expand Down

0 comments on commit 9719f17

Please sign in to comment.