1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-09-16 01:41:37 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

fix format

This commit is contained in:
sunnylqm
2025-03-15 19:08:34 +08:00
parent a559140b72
commit b0a8fc928a

View File

@@ -6,7 +6,7 @@ export interface CommitInfo {
hash: string;
message: string;
author: string;
date: string;
timestamp: string;
origin: string;
}
@@ -40,7 +40,7 @@ export async function getCommitInfo(): Promise<CommitInfo | undefined> {
hash: oid,
message: commit.message,
author: commit.author.name || commit.committer.name,
date: String(commit.committer.timestamp),
timestamp: String(commit.committer.timestamp),
origin: origin.url,
};
} catch (error) {