Closed extremeshok closed 7 years ago
" > " is for string comparisons. Use -gt instead. [SC2071] Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. [SC2166]
I have ignored SC2145 Argument mixes string and array. Use * or separate argument. [SC2145]
[ "$dry" = "yes" ] && echo "curl -sLv $opt \"$dat\" -X $method -b "$cookies/$domain" -c "$cookies/$domain" \"${args2[@]}\" \"${curlopt2[@]}\" \"${curlopt[@]}\" \"$_path$query\"" && return 0
Thanks @extremeshok, I also applied the shellcheck recommandations in the #50 PR, that is to be landing soon.
" > " is for string comparisons. Use -gt instead. [SC2071] Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. [SC2166]
I have ignored SC2145 Argument mixes string and array. Use * or separate argument. [SC2145]