Skip to content

Commit

Permalink
docker/get/dockerfiles: skip empty filters
Browse files Browse the repository at this point in the history
  • Loading branch information
briceburg committed Sep 20, 2017
1 parent c878a11 commit 39b0d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ docker/find/dockerfiles(){
tag="$(docker/get/dockerfile-tag $Dockerfile)"

# skip tags not matching filters
if [ ${#filters[@]} -gt 0 ]; then
if [ -n "${filters[*]}" ]; then
is/in_list "$tag" ${filters[@]} || continue
fi

Expand Down

0 comments on commit 39b0d88

Please sign in to comment.