Skip to content

Commit

Permalink
fix(swc): do not use swc on ts-node, historical typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bender committed Oct 3, 2022
1 parent a61c992 commit 970f229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const deployHandler = async ({ stackName, tsconfigPath, appPath }: Props)
// Not using SWC as it's problematic on NPX (postinstall fails).
// NPX so ts-node does not need to be a dependency.
// All paths are absolute.
const cdkApp = `npx ts-node --swc --project ${tsconfigPath} ${appPath}`
const cdkApp = `npx ts-node --project ${tsconfigPath} ${appPath}`

await executeAsyncCmd({
cmd: `STACK_NAME=${stackName} ${cdkExecutable} deploy --app "${cdkApp}"`,
Expand Down

0 comments on commit 970f229

Please sign in to comment.