mirror of
https://github.com/tw93/Mole.git
synced 2026-02-16 16:25:17 +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
|
# Clean the item
|
||||||
if [[ -e "$item_path" ]]; then
|
if [[ -e "$item_path" ]]; then
|
||||||
rm -rf "$item_path" 2> /dev/null || true
|
safe_remove "$item_path" true
|
||||||
|
|
||||||
# Update stats
|
# Update stats
|
||||||
if [[ ! -e "$item_path" ]]; then
|
if [[ ! -e "$item_path" ]]; then
|
||||||
|
|||||||
2
mole
2
mole
@@ -22,7 +22,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||||||
source "$SCRIPT_DIR/lib/core/common.sh"
|
source "$SCRIPT_DIR/lib/core/common.sh"
|
||||||
|
|
||||||
# Version info
|
# Version info
|
||||||
VERSION="1.13.10"
|
VERSION="1.13.11"
|
||||||
MOLE_TAGLINE="Deep clean and optimize your Mac."
|
MOLE_TAGLINE="Deep clean and optimize your Mac."
|
||||||
|
|
||||||
# Check TouchID configuration
|
# Check TouchID configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user