This commit is contained in:
alessio 2017-08-07 23:25:25 +02:00
parent 1b0aaf9f6f
commit 1fcb9e8209

View File

@ -7,6 +7,7 @@ import (
cli "gopkg.in/urfave/cli.v2" cli "gopkg.in/urfave/cli.v2"
"os" "os"
"strings" "strings"
"time"
) )
// Run launches the toolchain for each project // Run launches the toolchain for each project
@ -56,7 +57,7 @@ func (h *Blueprint) Run(p *cli.Context) error {
// env variables // env variables
for key, item := range h.Projects[k].Environment { for key, item := range h.Projects[k].Environment {
if err := os.Setenv(key, item); err != nil{ if err := os.Setenv(key, item); err != nil{
h.Projects[k].Buffer.StdErr = append(h.Projects[k].Buffer.StdErr, err) h.Projects[k].Buffer.StdErr = append(h.Projects[k].Buffer.StdErr, BufferOut{Time: time.Now(), Text: err.Error(), Type: "Env error", Stream: ""})
} }
} }