Skip to content

Commit

Permalink
fix: compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Nov 13, 2023
1 parent a148ad4 commit 067eac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/org/delete/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url)));
const messages = Messages.loadMessages('@salesforce/plugin-signups', 'snapshot.delete');

// jsforce can return SaveError[] or never[]
const isSaveError = (error: SaveError | unknown): error is SaveError => (error as SaveError).message !== undefined;
const isSaveError = (error: SaveError): error is SaveError => error.message !== undefined;

export class SnapshotDelete extends SfCommand<SaveResult> {
public static readonly summary = messages.getMessage('summary');
Expand Down

0 comments on commit 067eac1

Please sign in to comment.