Skip to content

Commit 6854e3f

Browse files
Revert "Cr 15741 (#773)" (#774)
* Revert "Cr 15741 (#773)" This reverts commit 7ef9d3a. * bump
1 parent 3da12ff commit 6854e3f

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

lib/interface/cli/commands/pipeline/run.cmd.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const debug = require('debug')('codefresh:cli:run:pipeline');
2-
const colors = require('colors');
32
const Command = require('../../Command');
43
const { crudFilenameOption } = require('../../helpers/general');
54
const RunLocalCommand = require('./run.local');
@@ -24,14 +23,6 @@ const run = new Command({
2423
},
2524
builder: (yargs) => {
2625
yargs
27-
.check((argv) => {
28-
const { trigger, branch, sha } = argv;
29-
30-
if ((branch || sha) && !trigger) {
31-
console.log(colors.yellow('Deprecation warning: usage of --sha or --branch without --trigger flag is deprecated'));
32-
}
33-
return true;
34-
})
3526
.option('trigger', {
3627
describe: 'Trigger id or name',
3728
alias: 't',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.81.3",
3+
"version": "0.81.4",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)