fix: not specifying a nerd-font makes the module fail. (#63)

This commit is contained in:
Lucas Ribeiro 2023-10-13 12:18:15 -03:00 committed by GitHub
parent dbb67ea43d
commit 835222f1db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ mkdir -p "$DEST"
DOWNLOAD=$(ls "$DEST" | wc -l)
FILE="$NAME.$FORMAT"
if [[ $DOWNLOAD -eq 0 ]]; then
if [[ $DOWNLOAD -eq 0 ]] && [[ -n $NAME ]]; then
echo "Downloading $FILE"