Skip to content

Commit

Permalink
tighter
Browse files Browse the repository at this point in the history
  • Loading branch information
clipperhouse committed Jun 28, 2014
1 parent 3cb8d4a commit 207b159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typewriters/container/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ func (c *ContainerWriter) Validate(t typewriter.Type) (bool, error) {
// must include at least one item that we recognize
any := false
for _, item := range tag.Items {
any = any || templates.Contains(item)
if any {
if templates.Contains(item) {
// found one, move on
any = true
break
}
}
Expand Down

0 comments on commit 207b159

Please sign in to comment.