Skip to content

Commit b0a8fc9

Browse files
committed
fix format
1 parent a559140 commit b0a8fc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/git.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export interface CommitInfo {
66
hash: string;
77
message: string;
88
author: string;
9-
date: string;
9+
timestamp: string;
1010
origin: string;
1111
}
1212

@@ -40,7 +40,7 @@ export async function getCommitInfo(): Promise<CommitInfo | undefined> {
4040
hash: oid,
4141
message: commit.message,
4242
author: commit.author.name || commit.committer.name,
43-
date: String(commit.committer.timestamp),
43+
timestamp: String(commit.committer.timestamp),
4444
origin: origin.url,
4545
};
4646
} catch (error) {

0 commit comments

Comments
 (0)