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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user