diff --git a/lib/interface/cli/commands/pipeline/run.cmd.js b/lib/interface/cli/commands/pipeline/run.cmd.js index 0fc77ef29..7a63157ff 100644 --- a/lib/interface/cli/commands/pipeline/run.cmd.js +++ b/lib/interface/cli/commands/pipeline/run.cmd.js @@ -23,14 +23,6 @@ const run = new Command({ }, builder: (yargs) => { yargs - .check((argv) => { - const { trigger, branch, sha } = argv; - - if ((branch || sha) && !trigger) { - throw new Error('Validation Error: --trigger is required when using --sha or --branch'); - } - return true; - }) .option('trigger', { describe: 'Trigger id or name', alias: 't', diff --git a/package.json b/package.json index 728df2ef7..3a4a93e1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codefresh", - "version": "0.81.1", + "version": "0.81.2", "description": "Codefresh command line utility", "main": "index.js", "preferGlobal": true,