react-native-update-cli 1.43.0 → 1.43.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/utils/git.js CHANGED
@@ -49,7 +49,7 @@ async function getCommitInfo() {
49
49
  message: commit.message,
50
50
  author: commit.author.name || commit.committer.name,
51
51
  timestamp: String(commit.committer.timestamp),
52
- origin: origin.url
52
+ origin: origin == null ? void 0 : origin.url
53
53
  };
54
54
  } catch (error) {
55
55
  console.error(error);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-update-cli",
3
- "version": "1.43.0",
4
- "description": "Command tools for javaScript updater with `pushy` service for react native apps.",
3
+ "version": "1.43.1",
4
+ "description": "command line tool for react-native-update (remote updates for react native)",
5
5
  "main": "index.js",
6
6
  "bin": {
7
7
  "pushy": "lib/index.js",
package/src/utils/git.ts CHANGED
@@ -41,7 +41,7 @@ export async function getCommitInfo(): Promise<CommitInfo | undefined> {
41
41
  message: commit.message,
42
42
  author: commit.author.name || commit.committer.name,
43
43
  timestamp: String(commit.committer.timestamp),
44
- origin: origin.url,
44
+ origin: origin?.url,
45
45
  };
46
46
  } catch (error) {
47
47
  console.error(error);