mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 19:44:44 +00:00
refactor: improve clean item removal with safe_remove
This commit is contained in:
@@ -612,7 +612,7 @@ clean_project_artifacts() {
|
||||
|
||||
# Clean the item
|
||||
if [[ -e "$item_path" ]]; then
|
||||
rm -rf "$item_path" 2> /dev/null || true
|
||||
safe_remove "$item_path" true
|
||||
|
||||
# Update stats
|
||||
if [[ ! -e "$item_path" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user