Don't condition allowlist creation on existence. (#267)

This commit is contained in:
Jonathan Stucklen authored and GitHub committed 2022-08-21 13:45:22 -05:00
1 parent 8a2f1bfead
commit e7b759731e
1 file changed
+1 -1
+1 -1
View File
@@ -146,8 +146,8 @@ if [ -n "$allowListUsers" ]; then
for f in whitelist.json allowlist.json; do for f in whitelist.json allowlist.json; do
if [ -f $f ]; then if [ -f $f ]; then
rm -rf $f rm -rf $f
jq -n --arg users "$allowListUsers" '$users | split(",") | map({"name": .})' > $f
fi fi
jq -n --arg users "$allowListUsers" '$users | split(",") | map({"name": .})' > $f
done done
# activate server property to enable list usage # activate server property to enable list usage
export WHITE_LIST=true export WHITE_LIST=true