MCPcopy Create free account
hub / github.com/angular/dev-infra / getIsErrorModeDefault

Function getIsErrorModeDefault

ng-dev/commit-message/validate-file/cli.ts:61–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61async function getIsErrorModeDefault(): Promise<boolean> {
62 return !!process.env['CI'] || !!(await getUserConfig())['commitMessage']?.errorOnInvalidMessage;
63}
64
65/** yargs command module describing the command. */
66export const ValidateFileModule: CommandModule<{}, ValidateFileOptions> = {

Callers 1

handlerFunction · 0.85

Calls 1

getUserConfigFunction · 0.85

Tested by

no test coverage detected