From 0b1abc2a051f93329c98005889da2820a1e3349b Mon Sep 17 00:00:00 2001 From: sawka Date: Fri, 2 May 2025 14:23:09 -0700 Subject: [PATCH] try fixing rm on windows again --- Taskfile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index c5c7653493..959536ff71 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -8,8 +8,8 @@ vars: BIN_DIR: "bin" VERSION: sh: node version.cjs - RM: '{{if eq OS "windows"}}powershell Remove-Item -Force{{else}}rm{{end}}' - RMRF: '{{if eq OS "windows"}}powershell Remove-Item -Force -Recurse{{else}}rm -rf{{end}}' + RM: '{{if eq OS "windows"}}powershell Remove-Item -Force -ErrorAction SilentlyContinue{{else}}rm -f{{end}}' + RMRF: '{{if eq OS "windows"}}powershell Remove-Item -Force -Recurse -ErrorAction SilentlyContinue{{else}}rm -rf{{end}}' DATE: '{{if eq OS "windows"}}powershell Get-Date -UFormat{{else}}date{{end}}' ARTIFACTS_BUCKET: waveterm-github-artifacts/staging-w2 RELEASES_BUCKET: dl.waveterm.dev/releases-w2