Skip to content

Commit

Permalink
fix(CLI Onboarding): Fix isConsole resolution in login step
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Mar 9, 2022
1 parent 494fb26 commit 688bfcf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/cli/interactive-setup/dashboard-login.js
Expand Up @@ -17,9 +17,7 @@ const loginOrRegisterQuestion = async (stepHistory, isConsole) =>

const steps = {
loginOrRegister: async (context) => {
const isConsole =
context.options.console ||
Boolean(context.configuration.console && !context.configuration.dashboard);
const isConsole = context.options.console || context.configuration.console;
const shouldLoginOrRegister =
context.options.org ||
context.configuration.org ||
Expand Down

0 comments on commit 688bfcf

Please sign in to comment.