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

Function _getForkOfAuthenticatedUser

ng-dev/release/publish/actions.ts:258–267  ·  view source on GitHub ↗

* Gets an owned fork for the configured project of the authenticated user. Aborts the * process with an error if no fork could be found.

()

Source from the content-addressed store, hash-verified

256 // like we assume it being clean when we start the release actions.
257 if (this.git.hasUncommittedChanges()) {
258 Log.error(' ✘ Unrelated changes have been made as part of the changelog editing.');
259 throw new FatalReleaseActionError();
260 }
261
262 Log.info(green(` ✓ Created release commit for: "${newVersion}".`));
263 }
264
265 /**
266 * Gets an owned fork for the configured project of the authenticated user. Aborts the
267 * process with an error if no fork could be found.
268 */
269 private async _getForkOfAuthenticatedUser(): Promise<GithubRepo> {
270 try {

Callers

nothing calls this directly

Calls 2

errorMethod · 0.45

Tested by

no test coverage detected