MCPcopy Create free account
hub / github.com/commitizen/cz-cli / prompter

Function prompter

test/tests/commit.js:368–370  ·  view source on GitHub ↗
(cz, commit)

Source from the content-addressed store, hash-verified

366 }, repoConfig.path);
367 // Define a dummy prompter
368 let prompter = function (cz, commit) {
369 commit(`${dummyCommitMessage} #2`, {});
370 };
371
372 commitizenCommit(inquirer, repoConfig.path, prompter, { disableAppendPaths: true, quiet: true, emitData: true }, function (error) {
373 // Should fail, as staging are is empty

Callers 1

commitFunction · 0.85

Calls 1

commitFunction · 0.90

Tested by

no test coverage detected