@percy/env 1.30.5-beta.0 → 1.30.5-beta.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/dist/environment.js +6 -3
- package/package.json +3 -3
package/dist/environment.js
CHANGED
|
@@ -201,10 +201,13 @@ export class PercyEnv {
|
|
|
201
201
|
// parallel total & nonce
|
|
202
202
|
get parallel() {
|
|
203
203
|
let total = parseInt(this.vars.PERCY_PARALLEL_TOTAL, 10);
|
|
204
|
-
if (this.ci === 'circle') {
|
|
205
|
-
total = parseInt(this.vars.CIRCLE_NODE_TOTAL, 10);
|
|
206
|
-
}
|
|
207
204
|
if (!Number.isInteger(total)) total = null;
|
|
205
|
+
if (total === null) {
|
|
206
|
+
switch (this.ci) {
|
|
207
|
+
case 'circle':
|
|
208
|
+
total = parseInt(this.vars.CIRCLE_NODE_TOTAL, 10);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
208
211
|
|
|
209
212
|
// no nonce if no total
|
|
210
213
|
let nonce = total && (_this$vars$BUILD_TAG => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/env",
|
|
3
|
-
"version": "1.30.5-beta.
|
|
3
|
+
"version": "1.30.5-beta.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"test:coverage": "yarn test --coverage"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@percy/logger": "1.30.5-beta.
|
|
35
|
+
"@percy/logger": "1.30.5-beta.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "4951bc46ffffcd2fd5947f6aa88fd7eb68a34ef3"
|
|
38
38
|
}
|