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

Function checkFromRepository

@commitlint/cli/src/cli.ts:440–442  ·  view source on GitHub ↗
(flags: CliFlags)

Source from the content-addressed store, hash-verified

438}
439
440function checkFromRepository(flags: CliFlags): boolean {
441 return checkFromHistory(flags) || checkFromEdit(flags);
442}
443
444function checkFromEdit(flags: CliFlags): boolean {
445 return Boolean(flags.edit) || Boolean(flags.env);

Callers 2

mainFunction · 0.85
checkFromStdinFunction · 0.85

Calls 2

checkFromHistoryFunction · 0.85
checkFromEditFunction · 0.85

Tested by

no test coverage detected