Skip to content

Commit

Permalink
chore: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Palmer committed Mar 18, 2024
1 parent 257fff6 commit 8d0fc4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/functions/installs.bash
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ _install_directory_tools() {
local plugin_version
for plugin_version in "${parts[@]:1}"; do
# install the version
display_none $(install_tool_version "$plugin_name" "$plugin_version")
display_none "$(install_tool_version "$plugin_name" "$plugin_version")"
tools_installed=$(printf "%s %s" "$tools_installed" "$plugin_name" | awk '{$1=$1};1')
done

Expand All @@ -231,12 +231,12 @@ _install_directory_tools() {
plugin_version=$env_version

# install the version
display_none $(install_tool_version "$plugin_name" "$plugin_version")
display_none "$(install_tool_version "$plugin_name" "$plugin_version")"
tools_installed=$(printf "%s %s" "$tools_installed" "$plugin_name" | awk '{$1=$1};1')
fi

display_debug "_install_directory_tools '$search_path': installed '$plugin_name':'$plugin_version' new state of tools_installed='$tools_installed'"
done <<<$tool_versions
done <<<"$tool_versions"

printf "%s\n" "$tools_installed"
}
Expand Down Expand Up @@ -291,7 +291,7 @@ _install_directory_tools_legacy() {
fi

display_debug "_install_directory_tools_legacy '$search_path': legacy_install $plugin_name: plugin_version='$plugin_version'"
display_none $(install_tool_version "$plugin_name" "$plugin_version")
display_none "$(install_tool_version "$plugin_name" "$plugin_version")"

tools_installed=$(printf "%s %s" "$tools_installed" "$plugin_name" | awk '{$1=$1};1')
display_debug "_install_directory_tools_legacy '$search_path': legacy_install $plugin_name: installed '$plugin_version' new state of tools_installed='$tools_installed'"
Expand Down Expand Up @@ -450,7 +450,7 @@ stringlist_contains() {
local array
IFS=' ' read -r -a array <<<"$list"
for item in "${array[@]}"; do
if [ $item = $search ]; then
if [ "$item" = "$search" ]; then
printf "true\n"
return 0
fi
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ display_error() {
}

display_debug_hr() {
display_debug "--------------------------------------------------------------------------------------------------------------"
display_debug "--------------------------------------------------------------------------------------------------------------"
}

display_debug() {
Expand Down

0 comments on commit 8d0fc4f

Please sign in to comment.