Skip to content

Commit

Permalink
fix: change default value definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jshackell-sfdc committed Aug 23, 2023
1 parent f08da01 commit c535a37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/commands/org/create/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/

import { Duration } from '@salesforce/kit';
import { Flags } from '@salesforce/sf-plugins-core';
import { Lifecycle, Messages, SandboxEvents, SandboxProcessObject, SandboxRequest, SfError } from '@salesforce/core';
import { Ux } from '@salesforce/sf-plugins-core/lib/ux';
Expand Down Expand Up @@ -51,7 +52,7 @@ export default class CreateSandbox extends SandboxCommandBase<SandboxProcessObje
description: messages.getMessage('flags.wait.description'),
min: 1,
unit: 'minutes',
defaultValue: 30,
default: Duration.minutes(30),
helpValue: '<minutes>',
exclusive: ['async'],
}),
Expand All @@ -60,7 +61,7 @@ export default class CreateSandbox extends SandboxCommandBase<SandboxProcessObje
summary: messages.getMessage('flags.poll-interval.summary'),
min: 15,
unit: 'seconds',
defaultValue: 30,
default: Duration.seconds(30),
helpValue: '<seconds>',
exclusive: ['async'],
}),
Expand Down

0 comments on commit c535a37

Please sign in to comment.