MCPcopy Create free account
hub / github.com/conventional-changelog/commitlint / prompt

Function prompt

@commitlint/cz-commitlint/src/Process.test.ts:37–40  ·  view source on GitHub ↗
(questions: DistinctQuestion[])

Source from the content-addressed store, hash-verified

35function InquirerFactory(answers: Answers) {
36 const inquirer = {
37 async prompt(questions: DistinctQuestion[]) {
38 await mockPrompt(questions, answers);
39 return answers;
40 },
41 };
42
43 return inquirer;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected