Skip to content

Commit

Permalink
test: old typescript version compat
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Aug 21, 2023
1 parent 4a5ea72 commit 0347f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UpgradeProcess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class UpgradeProcess {
)} outside of a Slice Machine project.\n\n Run ${chalk.cyan(
"npx @slicemachine/init@latest",
)} first or make sure you're in the right directory.`,
{ cause: error },
error instanceof Error ? { cause: error } : {},
);
}
}
Expand Down

0 comments on commit 0347f80

Please sign in to comment.