Maintain consistent no space before ; syntax

This commit is contained in:
Peter Dave Hello committed 2021-02-01 18:50:03 +08:00
1 parent 5c6aaefdf1
commit 704608a795
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
for i in $(dirname $0)/test-*.sh ; do
for i in $(dirname $0)/test-*.sh; do
echo "Running ${i}..."
${i}
done
+2 -2
View File
@@ -9,6 +9,6 @@ REMOVE_VOLUMES=1 ./docker-gc
# when a volume exists it should be removed
docker volume create
if [[ $(docker volume ls --format "{{.Name}}" | wc -l) != 1 ]] ; then echo "Volume count is not 1" && exit 1 ; fi
if [[ $(docker volume ls --format "{{.Name}}" | wc -l) != 1 ]]; then echo "Volume count is not 1" && exit 1; fi
REMOVE_VOLUMES=1 ./docker-gc
if [[ $(docker volume ls --format "{{.Name}}" | wc -l) != 0 ]] ; then echo "Volume has not been removed" && exit 1 ; fi
if [[ $(docker volume ls --format "{{.Name}}" | wc -l) != 0 ]]; then echo "Volume has not been removed" && exit 1; fi