Skip to content

Commit c2fb306

Browse files
committed
🐛 Handle $preconfig = ""
1 parent 6eb0532 commit c2fb306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# parse config.json for input parameters
77
preconfig=$(jq -r .preconfig config.json)
8-
if [ "$preconfig" == "null" ] || [ "$preconfig" == "default" ]
8+
if [ "$preconfig" == "" ] || [ "$preconfig" == "null" ] || [ "$preconfig" == "default" ]
99
then
1010
preconfig=""
1111
else

0 commit comments

Comments
 (0)