File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
lib/interface/cli/commands/project Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const command = new Command({
4747 let projects ;
4848 if ( id ) {
4949 let project = await sdk . projects . get ( { id } ) . catch ( ignoreHttpError ) ;
50- project = project || await sdk . projects . getByName ( { name } ) . catch ( ignoreHttpError ) ;
50+ project = project || await sdk . projects . getByName ( { name, tags } ) . catch ( ignoreHttpError ) ;
5151 projects = project ? [ project ] : [ ] ;
5252 } else {
5353 const result = await sdk . projects . list ( {
Original file line number Diff line number Diff line change 65156515 "type" : " string"
65166516 },
65176517 "required" : true
6518+ },
6519+ {
6520+ "in" : " query" ,
6521+ "name" : " tags" ,
6522+ "schema" : {
6523+ "type" : " string"
6524+ }
65186525 }
65196526 ],
65206527 "responses" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " codefresh" ,
3- "version" : " 0.52.1 " ,
3+ "version" : " 0.52.2 " ,
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