Skip to content

Commit

Permalink
(#25) Remove unneeded log
Browse files Browse the repository at this point in the history
It could disclose environment variables
  • Loading branch information
mdelapenya committed Oct 29, 2019
1 parent 12d23c3 commit dfb14b0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package testcontainers

import (
"bytes"
"fmt"
"io"
"os"
"os/exec"
Expand Down Expand Up @@ -107,10 +106,6 @@ func execute(

var errStdout, errStderr error

fmt.Printf(
"Executing %s at %s with environment: %s, and arguments: %s", binary, dirContext,
environment, args)

cmd := exec.Command(binary, args...)
cmd.Dir = dirContext
cmd.Env = os.Environ()
Expand Down

0 comments on commit dfb14b0

Please sign in to comment.