add logging to /out

Signed-off-by: Chris Brown <cbrown@pivotal.io>
This commit is contained in:
Alex Suraci
2015-02-20 14:38:49 -08:00
committed by Chris Brown
parent 330d632d62
commit 2ab978b6ea
4 changed files with 15 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ func main() {
sourceDir := os.Args[1]
github := resource.NewGitHubClient(request.Source)
command := resource.NewOutCommand(github)
command := resource.NewOutCommand(github, os.Stderr)
response, err := command.Run(sourceDir, request)
if err != nil {
resource.Fatal("running command", err)