From d54eb3aa3c009817d1131f22a5cbce56d4e75c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Th=C3=A9riault?= Date: Fri, 19 Jul 2024 12:29:36 -0400 Subject: [PATCH] fix lambda build script --- scripts/lambda.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/lambda.js b/scripts/lambda.js index f74852d5..43401769 100644 --- a/scripts/lambda.js +++ b/scripts/lambda.js @@ -56,7 +56,6 @@ rm("lambda/layer.zip") rm("node_modules/.lambda", { recursive: true }) cpSync("lambda", "node_modules/.lambda", { recursive: true }) replace("node_modules/.lambda/package.json") -replace("node_modules/.lambda/shim.cjs") replace("node_modules/.lambda/shim.mjs") execSync("touch yarn.lock && yarn install", { @@ -102,9 +101,6 @@ archive.directory( "node_modules/.lambda/node_modules/", "solarwinds-apm/node_modules/", ) -archive.file("node_modules/.lambda/shim.cjs", { - name: "solarwinds-apm/shim.cjs", -}) archive.file("node_modules/.lambda/shim.mjs", { name: "solarwinds-apm/shim.mjs", })