1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-15 16:55:06 +00:00

Complete automated testing

This commit is contained in:
Tw93
2025-10-12 15:43:45 +08:00
parent f9a93f6052
commit 3c56fe0633
13 changed files with 484 additions and 198 deletions

View File

@@ -211,7 +211,9 @@ safe_clean() {
description="$1"
targets=("$1")
else
description="${@: -1}"
# Get last argument as description
description="${*: -1}"
# Get all arguments except last as targets array
targets=("${@:1:$#-1}")
fi