Skip to content

Commit 6cb64c7

Browse files
committed
fix: pass wait correctly to api
@W-12097786@
1 parent 09555f8 commit 6cb64c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/force/package/beta/uninstall.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class PackageUninstallCommand extends SfdxCommand {
4949
password: undefined,
5050
});
5151

52-
const result = await packageVersion.uninstall(this.flags.wait as Duration);
52+
const result = await packageVersion.uninstall(Duration.seconds(30), this.flags.wait as Duration);
5353

5454
const arg = result.Status === 'Success' ? [result.SubscriberPackageVersionId] : [result.Id, this.org.getUsername()];
5555
this.ux.log(messages.getMessage(result.Status, arg));

0 commit comments

Comments
 (0)