mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 21:28:40 -09:00
Fix lint
This commit is contained in:
parent
9c9a307958
commit
8aa7d90ff1
1 changed files with 7 additions and 4 deletions
11
release.js
11
release.js
|
|
@ -2,14 +2,17 @@
|
||||||
const {prompt} = require('inquirer');
|
const {prompt} = require('inquirer');
|
||||||
|
|
||||||
module.exports = async markdown => {
|
module.exports = async markdown => {
|
||||||
const answers = await prompt([{
|
const answers = await prompt([
|
||||||
name: 'intro',
|
{
|
||||||
message: 'One-Line Release Summary'
|
name: 'intro',
|
||||||
}]);
|
message: 'One-Line Release Summary'
|
||||||
|
}
|
||||||
|
]);
|
||||||
|
|
||||||
const {intro} = answers;
|
const {intro} = answers;
|
||||||
|
|
||||||
if (intro === '') {
|
if (intro === '') {
|
||||||
|
//eslint-disable-next-line no-console
|
||||||
console.error('Please specify a release summary!');
|
console.error('Please specify a release summary!');
|
||||||
|
|
||||||
// eslint-disable-next-line unicorn/no-process-exit
|
// eslint-disable-next-line unicorn/no-process-exit
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue