1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 17:24:45 +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")
# 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
fi
@@ -112,7 +112,7 @@ discover_project_dirs() {
local dir
for dir in "$HOME"/*/; do
[[ ! -d "$dir" ]] && continue
dir="${dir%/}" # Remove trailing slash
dir="${dir%/}" # Remove trailing slash
# Skip if already in defaults
local already_found=false