Skip to content

Commit

Permalink
chore: -f to --definition-file
Browse files Browse the repository at this point in the history
  • Loading branch information
CristiCanizales committed Jan 3, 2024
1 parent 262b528 commit a0b9de4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class OrgCreateExecutor extends SfdxCommandletExecutor<AliasAndFileSelect
return new SfdxCommandBuilder()
.withDescription(nls.localize('org_create_default_scratch_org_text'))
.withArg('org:create:scratch')
.withFlag('-f', `${selectionPath}`)
.withFlag('--definition-file', `${selectionPath}`)
.withFlag('--alias', data.alias)
.withFlag('--duration-days', data.expirationDays)
.withArg('--set-default')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ describe('Force Org Create', () => {
expirationDays: TEST_ORG_EXPIRATION_DAYS
});
expect(createCommand.toCommand()).to.equal(
`sfdx org:create:scratch -f ${CONFIG_FILE} --alias ${TEST_ALIAS} --duration-days ${TEST_ORG_EXPIRATION_DAYS} --set-default --json`
`sfdx org:create:scratch --definition-file ${CONFIG_FILE} --alias ${TEST_ALIAS} --duration-days ${TEST_ORG_EXPIRATION_DAYS} --set-default --json`
);
expect(createCommand.description).to.equal(
nls.localize('org_create_default_scratch_org_text')
Expand Down

0 comments on commit a0b9de4

Please sign in to comment.