From 9d739c1b7a181f50dd2935739e91013f4c90f3da Mon Sep 17 00:00:00 2001 From: telamonian Date: Fri, 6 Sep 2024 04:46:19 -0400 Subject: [PATCH] small cleanup of "yarn clean" cmds --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5d84dc94..56acc03f 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "packageManager": "yarn@4.4.1", "scripts": { "clean": "rimraf .vite dist out", - "clean:assets": "rimraf assets/ComfyUI assets/cpython*.tar.gz assets/python assets/override.txt assets/python.tgz assets/requirements.*", - "clean:slate": "yarn run clean && && yarn run clean:assets && rimraf node_modules", + "clean:assets": "rimraf assets/ComfyUI assets/python assets/override.txt assets/python.tgz || rimraf assets/cpython*.tar.gz || rimraf assets/requirements.*", + "clean:slate": "yarn run clean && yarn run clean:assets && rimraf node_modules", "lint": "eslint --ext .ts,.tsx .", "lint:fix": "eslint --fix --ext .ts,.tsx .", "make": "electron-forge make",