Skip to content

Commit b640470

Browse files
fix: Invalid CDK path
1 parent 5fb2206 commit b640470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frameworks/cdkFrameworkWorker.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ parentPort.on("message", async (data) => {
1818

1919
// execute code to get the data into global.lambdas
2020
const codeFile = await fs.readFile(data.compileOutput, "utf8");
21-
const __dirname = path.resolve("./node_modules/aws-cdk-lib/x/x"); // CDK needs this, pure magic
21+
const __dirname = path.resolve("./x"); // CDK needs this, pure magic
2222
eval(codeFile);
2323

2424
if (global.lambdas.length === 0) {

0 commit comments

Comments
 (0)