chore: rename function to better describe what it does.

This commit is contained in:
Robert Wlodarczyk 2022-07-16 08:34:43 -07:00
parent dc18a5199d
commit c685687367

View File

@ -22,7 +22,7 @@ if [ "${LOG_FILE}" == "" ]; then
touch ${LOG_FILE}
fi
get_config() {
normalize_config() {
JSON_CONFIG={}
if [ -f "${HOME_DIR}/config.json" ]; then
JSON_CONFIG="$(cat "${HOME_DIR}"/config.json)"
@ -245,7 +245,7 @@ EOF
}
start_app() {
get_config
normalize_config
export CONFIG=${HOME_DIR}/config.working.json
if [ ! -f "${CONFIG}" ]; then
echo "Unable to find ${CONFIG}."