Skip to content

Commit

Permalink
fix: source tracking error
Browse files Browse the repository at this point in the history
  • Loading branch information
soridalac committed Nov 14, 2024
1 parent e45dbde commit 2d94089
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/shared/sandboxCommandBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ export abstract class SandboxCommandBase<T> extends SfCommand<T> {
// if user hasn't opted out of tracking, and sandbox type supports it, verify that prod org supports tracking-enabled sandboxes
const sourceTrackingSettings = await this.prodOrg
.getConnection()
.metadata.read('SourceTrackingSettings', 'SourceTrackingSettings');
if (sourceTrackingSettings.enableSourceTrackingSandboxes !== true) {
.singleRecordQuery('SELECT IsSourceTrackingSandboxesEnabled FROM SourceTrackingSettings', { tooling: true });
if (sourceTrackingSettings.IsSourceTrackingSandboxesEnabled !== true) {
return false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/sandboxProgress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type SandboxProgressData = {
};

export type SandboxStatusData = {
sandboxUsername: string;
sandboxUsername: string | undefined;
sandboxProgress: SandboxProgressData;
sandboxProcessObj?: SandboxProcessObject | undefined;
};
Expand Down

0 comments on commit 2d94089

Please sign in to comment.