fix: rm whole content/ directory instead of just the file

This commit is contained in:
Aravinth Manivannan 2022-10-28 14:29:45 +05:30
parent bf852b15cf
commit 93a246b4fb
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -20,7 +20,7 @@ readonly file="content/letter.md"
set -euo pipefail
init() {
rm -rf $file || true
rm -rf content || true
mkdir content
touch $file