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({
203
203
}
204
204
205
205
if ( _ . isUndefined ( shouldMakeDefaultRe ) ) {
206
- if ( ! _ . get ( sdk , 'config.context.isNoAuth' ) && await isNewAccount ( ) ) {
206
+ if ( _ . get ( sdk , 'config.context.isNoAuth' ) || await isNewAccount ( ) ) {
207
207
// if this is a new account, don't ask and set this runtime as default
208
208
shouldMakeDefaultRe = true ;
209
209
} else {
@@ -215,7 +215,7 @@ const initCmd = new Command({
215
215
} else {
216
216
const defaultRe = _ . find ( runtimes , re => re . default ) ;
217
217
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 ?` ;
219
219
}
220
220
}
221
221
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " codefresh" ,
3
- "version" : " 0.64.7 " ,
3
+ "version" : " 0.64.8 " ,
4
4
"description" : " Codefresh command line utility" ,
5
5
"main" : " index.js" ,
6
6
"preferGlobal" : true ,
You can’t perform that action at this time.
0 commit comments