aboutsummaryrefslogtreecommitdiff
path: root/submodules/command_source.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'submodules/command_source.zsh')
-rw-r--r--submodules/command_source.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/submodules/command_source.zsh b/submodules/command_source.zsh
index 6c306c3..9553bc6 100644
--- a/submodules/command_source.zsh
+++ b/submodules/command_source.zsh
@@ -18,14 +18,14 @@ rmdir "${user_config}_source.lock"
if [[ -n "${output_text}" ]]
then
- return 0
+ return
fi
source "${units}/sn_get.zsh"
if [[ -n "${output_text}" ]]
then
- return 0
+ return
fi
source_table=(
@@ -58,7 +58,7 @@ done
if [[ ${highest_similarity} -lt ${minimum_similarity} || ${highest_similarity} -lt 70.00 ]]
then
output_text="No results found"
- return 0
+ return
fi
thumbnail="$(jq -r ".results.[${highest_index}].header.thumbnail" <<< "${sn_data}")"