Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ckpt
  • Loading branch information
vangent committed Nov 16, 2018
commit 2b31d3457298de69599c395480496fba92e681bd
3 changes: 2 additions & 1 deletion wire/cmd/wire/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,11 @@ func generate(pkgs ...string) error {
fmt.Fprintf(os.Stderr, "%s: wrote %s\n", out.PkgPath, out.OutputPath)
} else {
fmt.Fprintf(os.Stderr, "%s: failed to write %s: %v\n", out.PkgPath, out.OutputPath, err)
success = false
}
}
if !success {
return errors.New("generate failed")
return errors.New("at least one generate failure")
}
return nil
}
Expand Down