@argos-ci/cli 0.2.4 → 0.2.5

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/index.mjs +2 -3
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -183,9 +183,8 @@ function getBranch({ env }) {
183
183
  return null;
184
184
  }
185
185
  function getRepository({ env }) {
186
- if (!env.GITHUB_REPOSITORY_OWNER) return null;
187
- const [, ...repositoryParts] = env.GITHUB_REPOSITORY_OWNER.split("/");
188
- return repositoryParts.join("/");
186
+ if (!env.GITHUB_REPOSITORY) return null;
187
+ return env.GITHUB_REPOSITORY.split("/")[1];
189
188
  }
190
189
  const service = {
191
190
  detect: ({ env })=>Boolean(env.GITHUB_ACTIONS),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/cli",
3
3
  "description": "Visual testing solution to avoid visual regression. Argos CLI is used to interact with and upload screenshots to argos-ci.com via command line.",
4
- "version": "0.2.4",
4
+ "version": "0.2.5",
5
5
  "bin": {
6
6
  "argos": "./bin/argos-cli.js"
7
7
  },
@@ -40,7 +40,7 @@
40
40
  "access": "public"
41
41
  },
42
42
  "dependencies": {
43
- "@argos-ci/core": "^0.5.0",
43
+ "@argos-ci/core": "^0.5.1",
44
44
  "commander": "^9.4.1",
45
45
  "ora": "^6.1.2",
46
46
  "update-notifier": "^6.0.2"
@@ -49,5 +49,5 @@
49
49
  "rollup": "^2.79.1",
50
50
  "rollup-plugin-swc3": "^0.6.0"
51
51
  },
52
- "gitHead": "c085c7e514623e54a86b2f311ff988709be391d0"
52
+ "gitHead": "a8a781ba5db26acc5cc18863875c6be4264251bf"
53
53
  }