Skip to content
Snippets Groups Projects
Commit 54b52521 authored by Michael Blaschek's avatar Michael Blaschek :bicyclist:
Browse files

Refactor: Simplify waGetInquirer function by removing redundant directory checks

parent 5430663b
No related branches found
No related tags found
No related merge requests found
...@@ -206,13 +206,6 @@ function waGetInquirer() { ...@@ -206,13 +206,6 @@ function waGetInquirer() {
fi fi
# shellcheck source=/dev/null # Exclude this file from being checked by ShellCheck. # shellcheck source=/dev/null # Exclude this file from being checked by ShellCheck.
source "$INQUIRER" source "$INQUIRER"
if [ -d "$SYS_SOURCE_PATH" ]; then
source "$SYS_SOURCE_PATH/$INQUIRER"
elif [ -d "$USER_SOURCE_PATH" ]; then
source "$USER_SOURCE_PATH/$INQUIRER"
else
continue
fi
} }
# Name: 'waCheckInput' # Name: 'waCheckInput'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment