mirror of
https://github.com/tw93/Mole.git
synced 2026-02-17 10:20:26 +00:00
fix: handle cd failure in diagnostic report standalone test
This commit is contained in:
@@ -10,7 +10,7 @@ if [[ ! -f "$PROJECT_ROOT/lib/core/app_protection.sh" ]]; then
|
||||
PROJECT_ROOT="$(pwd)"
|
||||
SCRIPT_DIR="$PROJECT_ROOT/tests"
|
||||
fi
|
||||
cd "$PROJECT_ROOT"
|
||||
cd "$PROJECT_ROOT" || exit 1
|
||||
|
||||
source_crlf_safe() {
|
||||
local f="$1"
|
||||
|
||||
Reference in New Issue
Block a user