@percy/cli-exec 1.0.0-beta.73 → 1.0.0-beta.76
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/dist/common.js +1 -0
- package/dist/exec.js +2 -2
- package/package.json +4 -4
package/dist/common.js
CHANGED
package/dist/exec.js
CHANGED
|
@@ -87,8 +87,8 @@ const exec = (0, _cliCommand.default)('exec', {
|
|
|
87
87
|
} // provide SDKs with useful env vars
|
|
88
88
|
|
|
89
89
|
|
|
90
|
-
env.PERCY_SERVER_ADDRESS
|
|
91
|
-
env.PERCY_LOGLEVEL
|
|
90
|
+
env.PERCY_SERVER_ADDRESS = percy === null || percy === void 0 ? void 0 : percy.address();
|
|
91
|
+
env.PERCY_LOGLEVEL = log.loglevel(); // run the provided command
|
|
92
92
|
|
|
93
93
|
log.info(`Running "${[command, ...args].join(' ')}"`);
|
|
94
94
|
let [status, error] = yield* spawn(command, args); // stop percy if running (force stop if there is an error);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/cli-exec",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.76",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@percy/cli-command": "1.0.0-beta.
|
|
34
|
-
"@percy/core": "1.0.0-beta.
|
|
33
|
+
"@percy/cli-command": "1.0.0-beta.76",
|
|
34
|
+
"@percy/core": "1.0.0-beta.76",
|
|
35
35
|
"cross-spawn": "^7.0.3",
|
|
36
36
|
"which": "^2.0.2"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "445af68d8e270e2a35fc74e26422ed5d3c91d2ae"
|
|
39
39
|
}
|