Skip to content

Commit 2d3923c

Browse files
committed
refactor(lint): ts5 and eslint changes
1 parent 8e18e16 commit 2d3923c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commands/force/org/clone.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(

src/commands/org/open.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)