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

Function checkFromHistory

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

Source from the content-addressed store, hash-verified

427}
428
429function checkFromHistory(flags: CliFlags): boolean {
430 return (
431 typeof flags.from === "string" ||
432 typeof flags["from-last-tag"] === "boolean" ||
433 typeof flags.to === "string" ||
434 typeof flags.last === "boolean"
435 );
436}
437
438function normalizeFlags(flags: CliFlags): CliFlags {
439 const edit = getEditValue(flags);

Callers 1

checkFromRepositoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected