fix: jq has moved from stedolan/jq to jqlang/jq (#530)

This commit is contained in:
Philipp Schmitt 2023-06-05 10:02:55 +02:00 committed by GitHub
parent 238e843d60
commit de85908f8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -850,7 +850,7 @@ ____
____
Has 549 line(s). Doesn't call other functions.
Has 573 line(s). Doesn't call other functions.
Uses feature(s): _autoload_, _bindkey_, _compdef_, _compdump_, _eval_, _read_, _setopt_, _unfunction_, _zle_, _zstyle_

View file

@ -1908,7 +1908,7 @@ ____
____
Has 117 line(s). Doesn't call other functions.
Has 120 line(s). Doesn't call other functions.
Called by:
@ -1931,7 +1931,7 @@ ____
____
Has 549 line(s). Doesn't call other functions.
Has 573 line(s). Doesn't call other functions.
Uses feature(s): _autoload_, _bindkey_, _compdef_, _compdump_, _eval_, _read_, _setopt_, _unfunction_, _zle_, _zstyle_

View file

@ -437,7 +437,7 @@
$joincap --version; assert $state equals 0
}
@test 'jq' { # Command-line JSON processor
run zinit lbin'!* -> jq' for stedolan/jq; assert $state equals 0
run zinit lbin'!* -> jq' for jqlang/jq; assert $state equals 0
local jq="$ZBIN/jq"; assert "$jq" is_executable
$jq --version; assert $state equals 0
}

View file

@ -15,7 +15,7 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || {
+zinit-message "{error}❌ ERROR: jq binary not found" \
"{nl}{u-warn}Please install jq:{rst}" \
"https://github.com/stedolan/jq" \
"https://github.com/jqlang/jq" \
"{nl}{u-warn}To do so with zinit, please refer to:{rst}" \
"https://github.com/zdharma-continuum/zinit/wiki/%F0%9F%A7%8A-Recommended-ices#jq"
return 1