client: lib_gen: return success on client generation
Selecting [nN] to client generation would skip optional container generation.
This commit is contained in:
@@ -314,7 +314,7 @@ function lib_gen::__gen_client()
|
|||||||
lib_utils::print_custom " \e[32m│ └─\e[34m Edit (new) custom Dockerfile now? [Y/n] \e[0m"
|
lib_utils::print_custom " \e[32m│ └─\e[34m Edit (new) custom Dockerfile now? [Y/n] \e[0m"
|
||||||
read -p "" _read
|
read -p "" _read
|
||||||
local _confirm="${_read:-y}"
|
local _confirm="${_read:-y}"
|
||||||
[[ "$_confirm" == [yY] ]] && $EDITOR "$global_custom_dockerfile"
|
[[ "$_confirm" == [yY] ]] && $EDITOR "$global_custom_dockerfile" || return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
function lib_gen::__gen_container()
|
function lib_gen::__gen_container()
|
||||||
|
|||||||
Reference in New Issue
Block a user