lambda-live-debugger 0.0.112 → 0.0.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -276,6 +276,7 @@ export class CdkFramework {
276
276
  awsCdkLibPath,
277
277
  projectDirname: getProjectDirname(),
278
278
  moduleDirname: getModuleDirname(),
279
+ subfolder: config.subfolder,
279
280
  },
280
281
  });
281
282
  worker.on("message", async (message) => {
@@ -10,7 +10,11 @@ import { Logger } from "../logger.mjs";
10
10
 
11
11
  Logger.setVerbose(workerData.verbose);
12
12
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
13
- const __dirname = path.resolve(path.join(workerData.projectDirname, "/x/x"));
13
+ const __dirname = path.resolve(
14
+ path.join(
15
+ ...[workerData.projectDirname, workerData.subfolder, "x"].filter((p) => p),
16
+ ),
17
+ );
14
18
 
15
19
  Logger.verbose(`[CDK] [Worker] Started`);
16
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lambda-live-debugger",
3
- "version": "0.0.112",
3
+ "version": "0.0.113",
4
4
  "type": "module",
5
5
  "description": "Debug Lambda functions locally like it is running in the cloud",
6
6
  "repository": {