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

Function getLatestCommitOfBranch

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

Gets the most recent commit of a specified branch.

(branchName: string)

Source from the content-addressed store, hash-verified

164 }
165
166 /*
167 * Get the modified Aspect lock files if `rulesJsInteropMode` is enabled.
168 */
169 protected getAspectLockFiles(): string[] {
170 // TODO: remove when Angular version 19 is no longer in LTS.
171 return existsSync(join(this.projectDir, '.aspect'))
172 ? [...glob.sync('.aspect/**', {cwd: this.projectDir}), 'pnpm-lock.yaml']
173 : [];
174 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected