@percy/cli-exec 1.28.3-beta.1 → 1.28.3

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.
Files changed (2) hide show
  1. package/dist/exec.js +2 -1
  2. package/package.json +4 -4
package/dist/exec.js CHANGED
@@ -142,12 +142,13 @@ async function* spawn(cmd, args, percy) {
142
142
  // Only send event when there is a global error code and
143
143
  // percy token is present
144
144
  if (process.env.PERCY_TOKEN) {
145
+ var _percy$client, _percy$build3;
145
146
  const myObject = {
146
147
  errorKind: 'cli',
147
148
  cliVersion: pkg.version,
148
149
  message: errorMessage
149
150
  };
150
- percy.client.sendBuildEvents(percy.build.id, myObject);
151
+ percy === null || percy === void 0 ? void 0 : (_percy$client = percy.client) === null || _percy$client === void 0 ? void 0 : _percy$client.sendBuildEvents(percy === null || percy === void 0 ? void 0 : (_percy$build3 = percy.build) === null || _percy$build3 === void 0 ? void 0 : _percy$build3.id, myObject);
151
152
  }
152
153
  }
153
154
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/cli-exec",
3
- "version": "1.28.3-beta.1",
3
+ "version": "1.28.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public",
12
- "tag": "beta"
12
+ "tag": "latest"
13
13
  },
14
14
  "engines": {
15
15
  "node": ">=14"
@@ -33,9 +33,9 @@
33
33
  ]
34
34
  },
35
35
  "dependencies": {
36
- "@percy/cli-command": "1.28.3-beta.1",
36
+ "@percy/cli-command": "1.28.3",
37
37
  "cross-spawn": "^7.0.3",
38
38
  "which": "^2.0.2"
39
39
  },
40
- "gitHead": "3a838eedd0f07f57c6c61cd0cba1c7e20cc95af3"
40
+ "gitHead": "5d41045921c7ac06329c4b72caaf291d34e3f699"
41
41
  }