diff --git a/package.json b/package.json index 97c1df4..de6e76b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-update-cli", - "version": "1.43.0", + "version": "1.43.1", "description": "command line tool for react-native-update (remote updates for react native)", "main": "index.js", "bin": { diff --git a/src/utils/git.ts b/src/utils/git.ts index cef9309..a03a5ea 100644 --- a/src/utils/git.ts +++ b/src/utils/git.ts @@ -41,7 +41,7 @@ export async function getCommitInfo(): Promise { message: commit.message, author: commit.author.name || commit.committer.name, timestamp: String(commit.committer.timestamp), - origin: origin.url, + origin: origin?.url, }; } catch (error) { console.error(error);