Skip to content

Commit

Permalink
Revert "Cr 15741 (#773)" (#774)
Browse files Browse the repository at this point in the history
* Revert "Cr 15741 (#773)"

This reverts commit 7ef9d3a.

* bump
  • Loading branch information
kim-codefresh authored Dec 14, 2022
1 parent 3da12ff commit 6854e3f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions lib/interface/cli/commands/pipeline/run.cmd.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const debug = require('debug')('codefresh:cli:run:pipeline');
const colors = require('colors');
const Command = require('../../Command');
const { crudFilenameOption } = require('../../helpers/general');
const RunLocalCommand = require('./run.local');
Expand All @@ -24,14 +23,6 @@ const run = new Command({
},
builder: (yargs) => {
yargs
.check((argv) => {
const { trigger, branch, sha } = argv;

if ((branch || sha) && !trigger) {
console.log(colors.yellow('Deprecation warning: usage of --sha or --branch without --trigger flag is deprecated'));
}
return true;
})
.option('trigger', {
describe: 'Trigger id or name',
alias: 't',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codefresh",
"version": "0.81.3",
"version": "0.81.4",
"description": "Codefresh command line utility",
"main": "index.js",
"preferGlobal": true,
Expand Down

0 comments on commit 6854e3f

Please sign in to comment.