Skip to content

Commit 9484367

Browse files
committed
chore: revert change
1 parent 9654000 commit 9484367

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/commands/force/org/clone.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ export class OrgCloneCommand extends SfCommand<SandboxProcessObject> {
123123
const { sandboxReq, srcSandboxName } = await createSandboxRequest(true, flags.definitionfile, logger, varargs);
124124
logger.debug('Calling clone with SandboxRequest: %s and SandboxName: %s ', sandboxReq, srcSandboxName);
125125
flags['target-org'].getConnection(flags['api-version']);
126-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
127-
return flags['target-org'].cloneSandbox(sandboxReq, srcSandboxName!, { wait: flags.wait });
126+
return flags['target-org'].cloneSandbox(sandboxReq, srcSandboxName, { wait: flags.wait });
128127
} else {
129128
throw new SfError(
130129
messages.getMessage('commandOrganizationTypeNotSupport', [OrgTypes.Sandbox]),

0 commit comments

Comments
 (0)