commitizen / commitizen/cz-cli
source code of commitizen includes coverage instrumentation
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 17.5k
- Forks
- 566
- Ø Merge
- 8 Std. 16 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
Package version: commitizen@4.2.4
Integrity: sha512-LlZChbDzg3Ir3O2S7jSo/cgWp5/QwylQVr59K4xayVq8S4/RdKzSyJkghAiZZHfhh5t4pxunUoyeg0ml1q/7aw==
Example from dist/git/commit.js:
```js
// ...
function commit(repoPath, message, options, done) {
cov_2p3l72uoj0.f[0]++;
let called = (cov_2p3l72uoj0.s[0]++, false); // commit the file by spawning a git process, unless the --hook
// option was provided. in that case, write the commit message into
// the .git/COMMIT_EDITMSG file
cov_2p3l72uoj0.s[1]++;
if (!options.hookMode) {
cov_2p3l72uoj0.b[0][0]++;
// ...
```
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.