tests: remove extra call to list apps
This commit is contained in:
@@ -34,10 +34,7 @@ global_teardown() {
|
|||||||
cleanup_apps() {
|
cleanup_apps() {
|
||||||
rm -rf $DOKKU_ROOT/*/nginx.conf
|
rm -rf $DOKKU_ROOT/*/nginx.conf
|
||||||
|
|
||||||
apps=$(dokku --quiet apps:list)
|
dokku --quiet apps:list | xargs --no-run-if-empty -n1 dokku --force apps:destroy
|
||||||
if [[ -n "${apps}" ]]; then
|
|
||||||
dokku --quiet apps:list | xargs -n1 dokku --force apps:destroy
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanup_containers() {
|
cleanup_containers() {
|
||||||
|
|||||||
Reference in New Issue
Block a user