mirror of
https://github.com/tw93/Mole.git
synced 2026-02-17 14:23:54 +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)"
|
PROJECT_ROOT="$(pwd)"
|
||||||
SCRIPT_DIR="$PROJECT_ROOT/tests"
|
SCRIPT_DIR="$PROJECT_ROOT/tests"
|
||||||
fi
|
fi
|
||||||
cd "$PROJECT_ROOT"
|
cd "$PROJECT_ROOT" || exit 1
|
||||||
|
|
||||||
source_crlf_safe() {
|
source_crlf_safe() {
|
||||||
local f="$1"
|
local f="$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user