Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Oct 31, 2023
1 parent d0b6376 commit 73354a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- 16.x
- 18.x
- 20.x
- 21.x
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
Expand Down
9 changes: 5 additions & 4 deletions lib/prompts.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import enquirer from 'enquirer';
import actions from 'enquirer/lib/combos.js';
import tryToCatch from 'try-to-catch';
import {choose as chooseCLI} from '@putout/cli-choose';

const {Select, Confirm} = enquirer;
const {Confirm} = enquirer;

export const choose = async () => {
return chooseCLI('What type of changes are you goint to publish 🎁 ?', [
const choises = [
'patch',
'minor',
'major',
]);
];

return await chooseCLI('What type of changes are you goint to publish 🎁 ?', choises);
};

export const ask = async (name, version) => {
Expand Down

0 comments on commit 73354a7

Please sign in to comment.