File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/interface/cli/commands/hybrid Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ const initCmd = new Command({
203203 }
204204
205205 if ( _ . isUndefined ( shouldMakeDefaultRe ) ) {
206- if ( ! _ . get ( sdk , 'config.context.isNoAuth' ) && await isNewAccount ( ) ) {
206+ if ( _ . get ( sdk , 'config.context.isNoAuth' ) || await isNewAccount ( ) ) {
207207 // if this is a new account, don't ask and set this runtime as default
208208 shouldMakeDefaultRe = true ;
209209 } else {
@@ -215,7 +215,7 @@ const initCmd = new Command({
215215 } else {
216216 const defaultRe = _ . find ( runtimes , re => re . default ) ;
217217 if ( defaultRe ) {
218- message = `Change the current default runtime ${ defaultRe . metadata . name } to new runtime ?` ;
218+ message = `Change the current default runtime " ${ colors . cyan ( defaultRe . metadata . name ) } " to new runtime ?` ;
219219 }
220220 }
221221
Original file line number Diff line number Diff line change 11{
22 "name" : " codefresh" ,
3- "version" : " 0.64.7 " ,
3+ "version" : " 0.64.8 " ,
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