Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
438
function
normalizeFlags(flags: CliFlags): CliFlags {
439
const
edit = getEditValue(flags);
440
return
{
441
...flags,
442
edit,
443
};
444
}
445
446
function
getEditValue(flags: CliFlags) {
447
if
(flags.env) {
Callers
1
main
Function · 0.85
Calls
1
getEditValue
Function · 0.85
Tested by
no test coverage detected