Skip to content

Commit

Permalink
fix the installer issue when vars not define (#12)
Browse files Browse the repository at this point in the history
* fix the installer issue when vars not define

Signed-off-by: ashutosh16 <[email protected]>

* fix the installer issue when vars not define

Signed-off-by: ashutosh16 <[email protected]>

---------

Signed-off-by: ashutosh16 <[email protected]>
  • Loading branch information
ashutosh16 authored Oct 10, 2024
1 parent 7697ac3 commit 44a5ab8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@ if [ -f $ext_file ]; then
rm $ext_file
fi

ext_vars=$(echo "$EXTENSION_JS_VARS" | jq -c '.')
ext_vars="${EXTENSION_JS_VARS:-}"
if [ -n "${ext_vars}" ]; then
ext_vars=$(echo "$ext_vars" | jq -c '.')
fi


download_extension
install_extension
Expand Down

0 comments on commit 44a5ab8

Please sign in to comment.