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

Function parsePrNumber

ng-dev/pr/merge/merge-pull-request.ts:153–162  ·  view source on GitHub ↗
(prUrlOrNumber: string)

Source from the content-addressed store, hash-verified

151 // the instance check for FatalMergeToolError should remain last as it will be truthy for
152 // all of the subclasses.
153 if (e instanceof FatalMergeToolError) {
154 Log.error(`Could not merge the specified pull request(s). Error:`);
155 Log.error(` -> ${bold(e.message)}`);
156 return false;
157 }
158
159 // For unknown errors, always re-throw.
160 throw e;
161}
162
163/**
164 * Creates the pull request merge tool using the given configuration options.
165 *

Callers 2

builderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected