Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@doctolib/argos-cli

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@doctolib/argos-cli - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

5

lib/getEnvironment.js

@@ -102,3 +102,6 @@ 'use strict';

commit: env.HEROKU_TEST_RUN_COMMIT_VERSION,
branch: env.HEROKU_TEST_RUN_BRANCH
branch: env.HEROKU_TEST_RUN_BRANCH,
buildId: env.HEROKU_TEST_RUN_ID,
batchId: env.CI_NODE_INDEX,
batchTotal: env.CI_NODE_TOTAL
};

@@ -105,0 +108,0 @@ }

2

lib/index.js

@@ -46,3 +46,3 @@ 'use strict';

_commander2.default.version(_package2.default.version).command('upload <directory>').description('Upload screenshots').option('-C, --commit <commit>', 'Git commit').option('-B, --branch <branch>', 'Git branch').option('-T, --token <token>', 'Repository token').option('--batchId [string]', '(Optional) ID of the batch').option('--batchTotal [int]', '(Optional) Total number of batches', parseInt).option('--ignore <list>', 'List of glob files to ignore (ex: "**/*.png,**/diff.jpg")', list).action((() => {
_commander2.default.version(_package2.default.version).command('upload <directory>').description('Upload screenshots').option('-C, --commit <commit>', 'Git commit').option('-B, --branch <branch>', 'Git branch').option('-T, --token <token>', 'Repository token').option('--buildId [string]', '(Optional) ID of the build').option('--batchId [string]', '(Optional) ID of the batch').option('--batchTotal [int]', '(Optional) Total number of batches', parseInt).option('--ignore <list>', 'List of glob files to ignore (ex: "**/*.png,**/diff.jpg")', list).action((() => {
var _ref = _asyncToGenerator(function* (directory, command) {

@@ -49,0 +49,0 @@ console.log(`=== argos-cli: uploading '${directory}' directory...\n`);

@@ -29,5 +29,5 @@ 'use strict';

const commit = commitOption || _config2.default.get('commit') || environment.commit;
const buildId = buildIdOption || _config2.default.get('buildId');
const batchId = batchIdOption || _config2.default.get('batchId');
const batchTotal = batchTotalOption || _config2.default.get('batchTotal');
const buildId = buildIdOption || _config2.default.get('buildId') || environment.buildId;
const batchId = batchIdOption || _config2.default.get('batchId') || environment.batchId;
const batchTotal = batchTotalOption || _config2.default.get('batchTotal') || environment.batchTotal;

@@ -34,0 +34,0 @@ if (environment.ci) {

{
"name": "@doctolib/argos-cli",
"version": "0.1.1",
"version": "0.1.2",
"description": "Argos command line interface.",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc