Skip to content

Commit

Permalink
Fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
mjambon committed Feb 17, 2021
1 parent 1cd136e commit b6ea6f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lang/add-simple-lang
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ if [[ -d "$lang" ]]; then
if [[ "$force" = true ]]; then
echo "Removing '$lang/'."
rm -rf "$lang"
fi
error "$lang/ already exists.
else
error "$lang/ already exists.
Remove or rename, then retry. Or use '--force.'"
fi
fi

mkdir "$lang"
Expand Down

0 comments on commit b6ea6f9

Please sign in to comment.