Skip to content

Commit 906a1f6

Browse files
wip (#481)
1 parent 37e955f commit 906a1f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/interface/cli/commands/hybrid/init.cmd.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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,

0 commit comments

Comments
 (0)