Skip to content

Commit 9aec779

Browse files
committed
fix: correctly set path for subshell
1 parent bc0f419 commit 9aec779

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Diff for: Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ test-e2e:
109109
.PHONY: test-docs-samples
110110
test-docs-samples:
111111
go tool -n jd # Apparently on the first run the path is the temporary build output and will be deleted again. Later invocations use the correct go build cache path.
112-
PATH=$$PATH:$$(dirname "$$(go tool -n jd)") \
113-
cd ./contrib/docs-code-samples && \
112+
PATH=$$PATH:$$(dirname "$$(go tool -n jd)") && \
113+
(cd ./contrib/docs-code-samples && \
114114
npm i && \
115-
npm test
115+
npm test)
116116

117117
.PHONY: fuzz-test
118118
fuzz-test:

Diff for: contrib/docs-code-samples/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)