mirror of
https://github.com/tw93/Mole.git
synced 2026-03-22 21:20:09 +00:00
style: improve code consistency and formatting
- Rename _MOLE_HINTS_DIR to mole_hints_dir (naming convention) - Split local variable declaration and assignment - Add ICON_INFO constant to base.sh - Remove redundant has_cached_sudo function (use has_sudo_session)
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
_MOLE_HINTS_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
mole_hints_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
# shellcheck disable=SC1090
|
||||
source "$_MOLE_HINTS_DIR/purge_shared.sh"
|
||||
source "$mole_hints_dir/purge_shared.sh"
|
||||
|
||||
# Quick reminder probe for project build artifacts handled by `mo purge`.
|
||||
# Designed to be very fast: shallow directory checks only, no deep find scans.
|
||||
|
||||
Reference in New Issue
Block a user