Use nu command instead of rm to remove a file

This commit is contained in:
Greg Burri 2025-05-01 18:42:25 +02:00
parent 630ad418bd
commit 9c755c6487
2 changed files with 4 additions and 4 deletions

View file

@ -8,5 +8,5 @@ minify = "on_release"
# Is there a way to not generate it at first?
[[hooks]]
stage = "post_build"
command = "rm"
command_arguments = ["../backend/static/wasm/.stage/index.html"]
command = "nu"
command_arguments = ["-c 'rm ../backend/static/wasm/.stage/index.html'"]