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

Method constructor

ng-dev/pr/merge/failures.ts:23–28  ·  view source on GitHub ↗
(allowedBranches: string[])

Source from the content-addressed store, hash-verified

21
22export class MismatchedTargetBranchFatalError extends FatalMergeToolError {
23 constructor(allowedBranches: string[]) {
24 super(
25 `Pull request is set to wrong base branch. Please update the PR in the Github UI ` +
26 `to one of the following branches: ${allowedBranches.join(', ')}.`,
27 );
28 }
29}
30
31export class UnsatisfiedBaseShaFatalError extends FatalMergeToolError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected