File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export class OrgCloneCommand extends SfCommand<SandboxProcessObject> {
8686 const varargs = parseVarArgs ( args , argv as string [ ] ) ;
8787
8888 const lifecycle = Lifecycle . getInstance ( ) ;
89- if ( flags . type === OrgTypes . Sandbox ) {
89+ if ( flags . type === OrgTypes . Sandbox . toString ( ) ) {
9090 lifecycle . on ( SandboxEvents . EVENT_ASYNC_RESULT , async ( results : SandboxProcessObject ) =>
9191 // Keep all console output in the command
9292 Promise . resolve (
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export class OrgOpenCommand extends SfCommand<OrgOpenOutput> {
8686 const containerMode = new Env ( ) . getBoolean ( 'SFDX_CONTAINER_MODE' ) ;
8787
8888 // security warning only for --json OR --url-only OR containerMode
89- if ( flags [ 'url-only' ] || flags . json || containerMode ) {
89+ if ( flags [ 'url-only' ] || Boolean ( flags . json ) || containerMode ) {
9090 this . warn ( sharedMessages . getMessage ( 'SecurityWarning' ) ) ;
9191 this . log ( '' ) ;
9292 }
You can’t perform that action at this time.
0 commit comments