Merge pull request 'fix: destroy --base -y fails with 'target is required' (issue #183)' (#184) from fix/issue-183-destroy-base-requires-target into main
This commit was merged in pull request #184.
This commit is contained in:
@@ -479,10 +479,6 @@ cmd_destroy() {
|
|||||||
local target="${1:-}"
|
local target="${1:-}"
|
||||||
local force=false
|
local force=false
|
||||||
|
|
||||||
if [ "$target" = "--base" ]; then
|
|
||||||
target=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$2" = "-y" ]; then
|
if [ "$2" = "-y" ]; then
|
||||||
force=true
|
force=true
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user