1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

Bwsh surpress warnings (#1084)

* surpessing the missing docker networks message in the bash script when the docker-compose project is already down

* surpressing the missing docker network warnings in the powershell script
This commit is contained in:
Joseph Flinn
2021-01-21 11:49:27 -08:00
committed by GitHub
parent 5059e0a693
commit 2dc0fe3b31
2 changed files with 6 additions and 2 deletions

View File

@ -83,7 +83,9 @@ function Docker-Compose-Up {
function Docker-Compose-Down {
Docker-Compose-Files
Invoke-Expression ("docker-compose down{0}" -f "") #TODO: qFlag
if ((Invoke-Expression ("docker-compose ps{0}" -f "") | Measure-Object -Line).lines -gt 2 ) {
Invoke-Expression ("docker-compose down{0}" -f "") #TODO: qFlag
}
}
function Docker-Compose-Pull {