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

Function checkFromRepository

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

Source from the content-addressed store, hash-verified

419}
420
421function checkFromRepository(flags: CliFlags): boolean {
422 return checkFromHistory(flags) || checkFromEdit(flags);
423}
424
425function checkFromEdit(flags: CliFlags): boolean {
426 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