Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function init() {
inquirer
.prompt([{
type: 'list',
name: 'tag',
message: configParser.getCommitPromptText('tag'),
choices: configParser.getTagsFormat()
}])
.then(function (answers) {
var tagTitle = answers.tag;
showPrompts(tagTitle);
});
}