Skip to content

Commit c8c81d0

Browse files
byCedricmarionebl
authored andcommitted
refactor(prompt-cli): remove unexpected meow parameter
1 parent 6720284 commit c8c81d0

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

@commitlint/prompt-cli/cli.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
#!/usr/bin/env node
22
const execa = require('execa');
3-
const meow = require('meow');
43
const {prompter} = require('@commitlint/prompt');
54

6-
const HELP = `
7-
Usage
8-
$ commit
9-
`;
10-
115
const _ = undefined;
126
const prompt = () => prompter(_, commit);
137

14-
main(meow(HELP)).catch(err => {
8+
main().catch(err => {
159
setTimeout(() => {
1610
throw err;
1711
});

@commitlint/prompt-cli/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"dependencies": {
4141
"@commitlint/prompt": "^7.3.1",
4242
"execa": "0.9.0",
43-
"meow": "3.7.0",
4443
"string-to-stream": "1.1.1"
4544
}
4645
}

0 commit comments

Comments
 (0)