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