mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-09-16 09:41:38 +08:00
fix format
This commit is contained in:
@@ -6,7 +6,7 @@ export interface CommitInfo {
|
|||||||
hash: string;
|
hash: string;
|
||||||
message: string;
|
message: string;
|
||||||
author: string;
|
author: string;
|
||||||
date: string;
|
timestamp: string;
|
||||||
origin: string;
|
origin: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ export async function getCommitInfo(): Promise<CommitInfo | undefined> {
|
|||||||
hash: oid,
|
hash: oid,
|
||||||
message: commit.message,
|
message: commit.message,
|
||||||
author: commit.author.name || commit.committer.name,
|
author: commit.author.name || commit.committer.name,
|
||||||
date: String(commit.committer.timestamp),
|
timestamp: String(commit.committer.timestamp),
|
||||||
origin: origin.url,
|
origin: origin.url,
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Reference in New Issue
Block a user