Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
Yshayy committed Oct 2, 2023
1 parent 0ed4b57 commit bb5cf5d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/cli/src/commands/proxy/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ export default class Connect extends ProfileCommand<typeof Connect> {
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,
Expand Down Expand Up @@ -102,7 +101,7 @@ export default class Connect extends ProfileCommand<typeof Connect> {
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,
})
Expand Down

0 comments on commit bb5cf5d

Please sign in to comment.