Skip to content

Commit

Permalink
pretty target string
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jul 9, 2017
1 parent 485f71b commit f527803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/buildtarget/targets.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (
func All(build config.Build) (targets []Target) {
for _, target := range allBuildTargets(build) {
if !valid(target) {
log.WithField("target", target.String()).
log.WithField("target", target.PrettyString()).
Warn("skipped invalid build")
continue
}
if ignored(build, target) {
log.WithField("target", target.String()).
log.WithField("target", target.PrettyString()).
Warn("skipped ignored build")
continue
}
Expand Down

0 comments on commit f527803

Please sign in to comment.