Skip to content

Commit

Permalink
Show console output if docker-compose pull fails
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlemke committed Oct 14, 2020
1 parent 21d7cc3 commit 9531378
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/bin
/assets/compiled.go
/beach
go_build_main_go
4 changes: 2 additions & 2 deletions cmd/beach/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ func handleStartRun(cmd *cobra.Command, args []string) {
if pull {
log.Debug("Pulling images ...")
commandArgs = []string{"-f", sandbox.ProjectRootPath + "/.localbeach.docker-compose.yaml", "pull"}
_, err := exec.RunCommand("docker-compose", commandArgs)
output, err := exec.RunCommand("docker-compose", commandArgs)
if err != nil {
log.Fatal(err)
log.Fatal(output)
return
}
} else {
Expand Down

0 comments on commit 9531378

Please sign in to comment.