mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-09-16 01:41:37 +08:00
fix format
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user