Skip to content
Snippets Groups Projects
Commit 0a00c79d authored by Rhys Arkins's avatar Rhys Arkins
Browse files

logs: log latest commit for base branches

parent c48129ab
No related branches found
No related tags found
No related merge requests found
......@@ -202,6 +202,8 @@ export class Storage {
}
await this._git!.checkout([branchName, '-f']);
await this._git!.reset('hard');
const latestCommitDate = (await this._git!.log({ n: 1 })).latest.date;
logger.debug({ branchName, latestCommitDate }, 'latest commit');
} catch (err) /* istanbul ignore next */ {
checkForPlatformFailure(err);
if (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment