From bb5cf5d7f213a55d9edbd0908732690aea844e29 Mon Sep 17 00:00:00 2001 From: Yshay Yaacobi Date: Mon, 2 Oct 2023 18:58:58 +0300 Subject: [PATCH] cosmetic --- packages/cli/src/commands/proxy/connect.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/cli/src/commands/proxy/connect.ts b/packages/cli/src/commands/proxy/connect.ts index 26415fdb..2d3779b5 100644 --- a/packages/cli/src/commands/proxy/connect.ts +++ b/packages/cli/src/commands/proxy/connect.ts @@ -21,10 +21,9 @@ export default class Connect extends ProfileCommand { description: 'specify the environment ID for this app', required: false, }), - 'disable-widget': Flags.boolean({ - default: true, + 'enable-widget': Flags.boolean({ + default: false, hidden: true, - allowNo: true, }), 'livecycle-widget-url': Flags.string({ required: true, @@ -102,7 +101,7 @@ export default class Connect extends ProfileCommand { tunnelOpts, networks, privateMode: flags['private-env'], - injectLivecycleScript: flags['disable-widget'] ? undefined : `${flags['livecycle-widget-url']}?profile=${thumbprint}&env=${envId}`, + injectLivecycleScript: flags['enable-widget'] ? `${flags['livecycle-widget-url']}?profile=${thumbprint}&env=${envId}` : undefined, tunnelingKeyThumbprint: thumbprint, projectDirectory, })