diff --git a/lib/interface/cli/commands/pipeline/run.cmd.js b/lib/interface/cli/commands/pipeline/run.cmd.js index 3f8856fa7..7a63157ff 100644 --- a/lib/interface/cli/commands/pipeline/run.cmd.js +++ b/lib/interface/cli/commands/pipeline/run.cmd.js @@ -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'); @@ -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', diff --git a/package.json b/package.json index 56568196e..320085bcb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codefresh", - "version": "0.81.3", + "version": "0.81.4", "description": "Codefresh command line utility", "main": "index.js", "preferGlobal": true,