mirror of
https://github.com/luzifer-aur/babel-eslint-parser.git
synced 2024-12-20 13:41:15 +00:00
Remove dependency to npm in update check
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7a4545f24a
commit
8282bfc046
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ PKG=$(awk -F '=' '/pkgname=/{ print $2 }' PKGBUILD)
|
|||
|
||||
# Get latest version
|
||||
VER=$(
|
||||
npm view @babel/eslint-parser dist-tags.latest
|
||||
curl -sSf 'https://registry.npmjs.org/@babel/eslint-parser/latest' | jq -r '.version'
|
||||
)
|
||||
[[ -n $VER ]] || exit 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue