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