Skip to content

Commit

Permalink
removing print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvam committed Oct 4, 2016
1 parent 65ed31f commit 98d77f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gauge/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func LoadGaugeImpls() error {
f.Close()
// Scan gauge methods
if err := util.RunCommand(os.Stdout, os.Stdout, constants.CommandGo, "run", gaugeGoMainFile); err != nil {
return fmt.Errorf("Failed to compile project: %s\nPlease ensure the project is in GOPATH.", err.Error())
return fmt.Errorf("Failed to compile project: %s\nPlease ensure the project is in GOPATH.\n", err.Error())
}
return nil
}
Expand Down
4 changes: 2 additions & 2 deletions gauge/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,11 @@ func WriteMessage(message string, args ...interface{}) {

// Run opens a port for listening to gauge. For internal use only.
func Run() {
fmt.Printf("We have got %d step implementations\n", len(context.Steps)) // remove
// fmt.Printf("We have got %d step implementations\n", len(context.Steps)) // move to logger

var gaugePort = os.Getenv(c.GaugePortVariable)

fmt.Println("Connecting port:", gaugePort) // remove
// fmt.Println("Connecting port:", gaugePort) // move to logger
conn, err := net.Dial("tcp", net.JoinHostPort("127.0.0.1", gaugePort))
defer conn.Close()
if err != nil {
Expand Down

0 comments on commit 98d77f8

Please sign in to comment.