1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-09 03:49:21 +00:00

chore: auto format code

This commit is contained in:
Tw93
2025-12-29 11:38:50 +00:00
parent 6328bf158d
commit fd95e2f3fc

View File

@@ -90,7 +90,7 @@ is_project_container() {
find_args+=(")" "-print" "-quit") find_args+=(")" "-print" "-quit")
# Single find call to check all indicators at once # Single find call to check all indicators at once
if find "${find_args[@]}" 2>/dev/null | grep -q .; then if find "${find_args[@]}" 2> /dev/null | grep -q .; then
return 0 return 0
fi fi
@@ -112,7 +112,7 @@ discover_project_dirs() {
local dir local dir
for dir in "$HOME"/*/; do for dir in "$HOME"/*/; do
[[ ! -d "$dir" ]] && continue [[ ! -d "$dir" ]] && continue
dir="${dir%/}" # Remove trailing slash dir="${dir%/}" # Remove trailing slash
# Skip if already in defaults # Skip if already in defaults
local already_found=false local already_found=false