kiss: silence shellcheck for intended behavior (subshell use)

This commit is contained in:
Dylan Araps 2021-07-02 13:45:53 +00:00
parent 76001821b0
commit 39c8523207
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 4 additions and 1 deletions

5
kiss
View File

@ -1597,7 +1597,8 @@ args() {
help-ext) help-ext)
log 'Installed extensions (kiss-* in PATH)' log 'Installed extensions (kiss-* in PATH)'
# shellcheck disable=2046 # Behavior intentional.
# shellcheck disable=2046,2030,2031
# see [1] at top of script. # see [1] at top of script.
set -- $( set -- $(
export KISS_PATH=$PATH export KISS_PATH=$PATH
@ -1626,6 +1627,8 @@ args() {
;; ;;
*) *)
# Behavior intentional.
# shellcheck disable=2030,2031
util=$( util=$(
export KISS_PATH=$PATH export KISS_PATH=$PATH
pkg_find "kiss-$action*" "" -x 2>/dev/null pkg_find "kiss-$action*" "" -x 2>/dev/null