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

Function checkFromStdin

@commitlint/cli/src/cli.ts:417–419  ·  view source on GitHub ↗
(input: (string | number)[], flags: CliFlags)

Source from the content-addressed store, hash-verified

415}
416
417function checkFromStdin(input: (string | number)[], flags: CliFlags): boolean {
418 return input.length === 0 && !checkFromRepository(flags);
419}
420
421function checkFromRepository(flags: CliFlags): boolean {
422 return checkFromHistory(flags) || checkFromEdit(flags);

Callers 1

mainFunction · 0.85

Calls 1

checkFromRepositoryFunction · 0.85

Tested by

no test coverage detected