Skip to content

BulkOperationGitRepo.recoverStaleLock method

BulkOperationGitRepo › recoverStaleLock

Commits whatever a stale lock's operation left behind as OP<n> interrupted and removes the lock.

Signature:

recoverStaleLock(): Promise<null | string>

Returns: Promise<null | string> — The id of the recovered operation, or null when there was no stale lock.