small issue with interactive mode for convert-to parameter

This commit is contained in:
Sadek Baroudi 2022-11-02 11:37:02 -07:00
parent abdd818c02
commit f5bd7493a8
1 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,9 @@ build_keyboard_user_input() {
param_name=$(cat "${build_json}" | jq -r ".[${param_iter}].name")
build_string+=" ${param_name}=${user_choice}"
elif [[ "${param_type}" == "convert-to" ]]; then
# Do nothing, we can skip this for interactive mode
param_name=$(cat "${build_json}" | jq -r ".[${param_iter}].name")
else
echo "invalid type in json file: ${param_type}"
exit