Skip to content

Commit 7ea0eb9

Browse files
committed
use npm run build to build layer, fix lambda java patch
1 parent 92aa249 commit 7ea0eb9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nodejs/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cd wrapper-adot || exit
1616
npm install || exit
1717

1818
cd ../../opentelemetry-lambda/nodejs || exit
19-
npm install || exit
19+
npm install && npm run build|| exit
2020

2121
mv ./packages/layer/build/workspace/otel-handler ./packages/layer/build/workspace/otel-handler-upstream
2222
cp "$SOURCEDIR"/scripts/otel-handler ./packages/layer/build/workspace/otel-handler

patches/opentelemetry-lambda_java.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ index 7693c66..e66bcba 100644
77
spotless {
88
java {
99
- googleJavaFormat()
10-
+ googleJavaFormat("1.15.0"))
10+
+ googleJavaFormat("1.15.0")
1111
}
1212
}
1313

0 commit comments

Comments
 (0)