Skip to content

Commit b744a5a

Browse files
committed
fix(util/git): log date as string
As a follow-up to changes in 7ebba26 which accidentally changed this behaviour, as we're now passing in the `DateTime`.
1 parent 11f39d5 commit b744a5a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/util/git/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,11 @@ export async function checkoutBranch(
626626
// v8 ignore else -- TODO: add test #40625
627627
if (latestCommitDate) {
628628
logger.debug(
629-
{ branchName, latestCommitDate, sha: config.currentBranchSha },
629+
{
630+
branchName,
631+
latestCommitDate: latestCommitDate.toISO(),
632+
sha: config.currentBranchSha,
633+
},
630634
'latest commit',
631635
);
632636
}

0 commit comments

Comments
 (0)