File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
interface/cli/commands/workflow Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,7 @@ const run = new Command({
107107
108108 _ . forEach ( executionRequests , async ( { pipelineId, options } ) => {
109109 let workflowId ;
110- if ( authManager . getCurrentContext ( )
111- . isBetaFeatEnabled ( ) ) {
110+ if ( ! ObjectID . isValid ( pipelineId ) ) {
112111 workflowId = await pipeline2 . runPipelineByName ( pipelineId , options ) ;
113112 } else {
114113 workflowId = await pipeline . runPipelineById ( pipelineId , options ) ;
Original file line number Diff line number Diff line change @@ -55,13 +55,12 @@ const deletePipelineByName = async (name) => {
5555} ;
5656
5757const runPipelineByName = async ( name , data ) => {
58-
5958 const body = _ . pick ( data , 'variables' , 'branch' ) ;
6059
6160 const options = {
6261 url : `/api/pipelines/new/run/${ name } ` ,
6362 method : 'POST' ,
64- body
63+ body,
6564 } ;
6665
6766 return sendHttpRequest ( options ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " codefresh" ,
3- "version" : " 0.6.5 " ,
3+ "version" : " 0.6.6 " ,
44 "description" : " Codefresh command line utility" ,
55 "main" : " index.js" ,
66 "preferGlobal" : true ,
You can’t perform that action at this time.
0 commit comments