This commit is contained in:
CHaBou 2017-10-05 21:04:14 +02:00
parent 9c9a307958
commit 8aa7d90ff1
No known key found for this signature in database
GPG key ID: EF8D073B729A0B33

View file

@ -2,14 +2,17 @@
const {prompt} = require('inquirer');
module.exports = async markdown => {
const answers = await prompt([{
const answers = await prompt([
{
name: 'intro',
message: 'One-Line Release Summary'
}]);
}
]);
const {intro} = answers;
if (intro === '') {
//eslint-disable-next-line no-console
console.error('Please specify a release summary!');
// eslint-disable-next-line unicorn/no-process-exit