fix: rm whole content/ directory instead of just the file
This commit is contained in:
parent
bf852b15cf
commit
93a246b4fb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue