acceptPendingWithoutWork
acceptPendingWithoutWork(
db,projectId):Promise<Build[]>
Defined in: packages/core/src/models/review-switch-off.ts:17
Accept the project’s pending builds that have no capture attempts and no snapshots; resolves
to the builds it accepted. Builds a capture touched keep their status (snapshot approval decides
them), and a second run finds nothing left to do. No approval event is raised.
Parameters
Section titled “Parameters”projectId
Section titled “projectId”string
Returns
Section titled “Returns”Promise<Build[]>