Use variable in error message instead of constructing it again

pull/98/head
kaklakariada
parent 0705f65336
commit f8ad8f34b1

@ -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

Loading…
Cancel
Save