Skip to content

Commit

Permalink
fix: add jobId in json output
Browse files Browse the repository at this point in the history
  • Loading branch information
soridalac committed Jan 16, 2025
1 parent db71ff7 commit c36d319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/org/create/scratch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ export default class OrgCreateScratch extends SfCommand<ScratchCreateResponse> {
if (error instanceof SfError && error.name === 'ScratchOrgInfoTimeoutError') {
const scratchOrgInfoId = (error.data as { scratchOrgInfoId: string }).scratchOrgInfoId;
const resumeMessage = messages.getMessage('action.resume', [this.config.bin, scratchOrgInfoId]);
const timeOutMessage = 'The scratch org did not complete within your wait time.';

this.info(resumeMessage);
this.error('The scratch org did not complete within your wait time', { code: '69', exit: 69 });
this.error(`${timeOutMessage} ${resumeMessage}`, { code: '69', exit: 69 });
} else {
throw error;
}
Expand Down

0 comments on commit c36d319

Please sign in to comment.