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

Function dispatchGitCommit

src/commitizen/commit.js:13–18  ·  view source on GitHub ↗

* Takes all of the final inputs needed in order to make dispatch a git commit

(repoPath, template, options, overrideOptions, done)

Source from the content-addressed store, hash-verified

11 * Takes all of the final inputs needed in order to make dispatch a git commit
12 */
13function dispatchGitCommit (repoPath, template, options, overrideOptions, done) {
14 // Commit the user input -- side effect that we'll test
15 gitCommit(repoPath, template, { ...options, ...overrideOptions }, function (error) {
16 done(error, template);
17 });
18}
19
20 /**
21 * Asynchronously commits files using commitizen

Callers 1

commitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected