Skip to content

Commit

Permalink
Disable SC2086 where it's not necessary (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
reegnz authored Nov 10, 2023
1 parent 9cf2dbc commit 7f64430
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jq.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ __get_query() {
unset 'functions[_jq-plugin-expand]'
functions[_jq-plugin-expand]=${LBUFFER}
(($+functions[_jq-plugin-expand])) && COMMAND=${functions[_jq-plugin-expand]#$'\t'}
# shellcheck disable=SC2086
jq-repl -- ${COMMAND}
return $?
else
# shellcheck disable=SC2086
jq-repl -- ${LBUFFER}
return $?
fi
Expand Down

0 comments on commit 7f64430

Please sign in to comment.