Commit 5b42ec99 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

make: fix build (#10327)

Fixes the `make build` command to ensure that it
works. Previously it checked if the env var was set
for the nvm dir, but that doesn't guarantee there is
a file there. Run the nvm file if it exists after
checking that it exists. Can confirm that the
build command works for me now locally.
parent 54eb4161
...@@ -17,7 +17,7 @@ lint-go: ...@@ -17,7 +17,7 @@ lint-go:
.PHONY: lint-go .PHONY: lint-go
build-ts: submodules build-ts: submodules
if [ -n "$$NVM_DIR" ]; then \ if [ -f "$$NVM_DIR/nvm.sh" ]; then \
. $$NVM_DIR/nvm.sh && nvm use; \ . $$NVM_DIR/nvm.sh && nvm use; \
fi fi
pnpm install:ci pnpm install:ci
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment