From 4f5ff538a15f6e171096ad8532e614911711a97b Mon Sep 17 00:00:00 2001 From: Gabriel Trabanco Llano Date: Wed, 17 Jul 2024 22:02:58 +0200 Subject: [PATCH] Fix SC2207 --- shell/init-sloth.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/init-sloth.sh b/shell/init-sloth.sh index 638b78a8..cf0dc642 100644 --- a/shell/init-sloth.sh +++ b/shell/init-sloth.sh @@ -227,8 +227,9 @@ fi if command -v gem > /dev/null 2> /dev/null || command -vp gem > /dev/null 2>&1; then gem_bin="$(command -v gem || command -vp gem)" gem_paths="$("$gem_bin" env gempath 2> /dev/null)" - #shellcheck disable=SC2207 path+=("${GEM_HOME}/bin") + + #shellcheck disable=SC2207 [[ -n "$gem_paths" ]] && path+=($(echo "$gem_paths" | command -p tr ':' "\n" | command -p xargs -I _ echo _"/bin")) fi