-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(aws-cdk): fix ts-node usage on Windows (#2660)
Fix an error when running any cdk command on Windows caused by '/' in ts-node path.
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
packages/aws-cdk/lib/init-templates/app/typescript/cdk.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"app": "./node_modules/.bin/ts-node bin/%name%.ts" | ||
"app": "npx ts-node bin/%name%.ts" | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/aws-cdk/lib/init-templates/sample-app/typescript/cdk.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"app": "./node_modules/.bin/ts-node bin/%name%.ts" | ||
"app": "npx ts-node bin/%name%.ts" | ||
} |