We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6c04ad commit d0f378aCopy full SHA for d0f378a
lib/interface/cli/commands/pipeline/run.cmd.js
@@ -23,14 +23,6 @@ const run = new Command({
23
},
24
builder: (yargs) => {
25
yargs
26
- .check((argv) => {
27
- const { trigger, branch, sha } = argv;
28
-
29
- if ((branch || sha) && !trigger) {
30
- throw new Error('Validation Error: --trigger is required when using --sha or --branch');
31
- }
32
- return true;
33
- })
34
.option('trigger', {
35
describe: 'Trigger id or name',
36
alias: 't',
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "codefresh",
3
- "version": "0.81.1",
+ "version": "0.81.2",
4
"description": "Codefresh command line utility",
5
"main": "index.js",
6
"preferGlobal": true,
0 commit comments