Skip to content

Commit

Permalink
fix lambda build script
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael-theriault-swi committed Jul 19, 2024
1 parent 2e74a66 commit d54eb3a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/lambda.js
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down Expand Up @@ -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",
})
Expand Down

0 comments on commit d54eb3a

Please sign in to comment.