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

Function normalizeFlags

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

Source from the content-addressed store, hash-verified

436}
437
438function normalizeFlags(flags: CliFlags): CliFlags {
439 const edit = getEditValue(flags);
440 return {
441 ...flags,
442 edit,
443 };
444}
445
446function getEditValue(flags: CliFlags) {
447 if (flags.env) {

Callers 1

mainFunction · 0.85

Calls 1

getEditValueFunction · 0.85

Tested by

no test coverage detected