Skip to content

Commit

Permalink
Update the way to get tool versions
Browse files Browse the repository at this point in the history
  • Loading branch information
soulim committed Dec 6, 2024
1 parent 3a647f9 commit fb42798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extension/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ clean:
.PHONY: sharp
sharp: package.json
cat package.json \
| jq --sort-keys ".engines.node = \"$$(asdf current nodejs 2>&1 | sed -e "s/ \{2,\}/ /g" | cut -d" " -f2)\"" > package-new.json \
| jq --sort-keys ".engines.node = \"$$(asdf current nodejs 2>&1 | awk '{print $$2}')\"" > package-new.json \
&& mv package-new.json package.json
npm ci --no-fund
npm prune --no-fund
Expand Down
2 changes: 1 addition & 1 deletion host/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ clean:

.PHONY: sharp
sharp: go.mod
go mod edit -go=$$(asdf current golang 2>&1 | sed -e "s/ \{2,\}/ /g" | cut -d" " -f2)
go mod edit -go=$$(asdf current golang 2>&1 | awk '{print $$2}')
go mod download

.PHONY: all
Expand Down

0 comments on commit fb42798

Please sign in to comment.