Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit de493ca

Browse files
Remove jq from install script (#49)
1 parent a7fabc3 commit de493ca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

install.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ else
4545
fi
4646

4747
get_latest_version() {
48-
local url="https://registry.npmjs.org/${PACKAGE_ORG:+$PACKAGE_ORG/}$PACKAGE_NAME"
49-
50-
curl --silent "$url" | jq -r '.["dist-tags"].latest'
48+
npm show ${PACKAGE_ORG:+$PACKAGE_ORG/}$PACKAGE_NAME version
5149
}
5250

5351
ARCHIVE_URL=""

0 commit comments

Comments
 (0)