1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 20:41:57 +00:00

iris run: Remove duplicate code for os.Stderr

This commit is contained in:
Makis Maropoulos
2016-06-25 16:13:59 +03:00
parent 1b3803e5c2
commit bf40160273
2 changed files with 4 additions and 3 deletions

View File

@@ -40,12 +40,10 @@ func build(sourcepath string) error {
func run(executablePath string) (*utils.Cmd, error) {
runCmd := utils.CommandBuilder("." + utils.PathSeparator + executablePath)
runCmd.Dir = workingDir
runCmd.Stderr = os.Stderr
runCmd.Stdout = os.Stdout
runCmd.Stderr = os.Stderr
if err := runCmd.Start(); err != nil {
ferr := errRun.Format(executablePath, err.Error())
printer.Dangerf(ferr.Error())