Commit f8ad8f34 authored by kaklakariada's avatar kaklakariada
Browse files

Use variable in error message instead of constructing it again

parent 0705f653
...@@ -776,7 +776,7 @@ issue() { ...@@ -776,7 +776,7 @@ issue() {
addcommand="$Le_Webroot-add" addcommand="$Le_Webroot-add"
if ! command -v $addcommand ; then if ! command -v $addcommand ; then
_err "It seems that your api file is not correct, it must have a function named: $Le_Webroot-add" _err "It seems that your api file is not correct, it must have a function named: $addcommand"
return 1 return 1
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment