diff --git a/README.md b/README.md index bdc1d2d..29cbad9 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ $ go get github.com/tockins/realize $ realize run ``` - It will create a realize.yaml file if it doesn't exist already, adds the working directory as project and run the pipeline. + It will create a realize.yaml file if it doesn't exist already, add the working directory as project and run the pipeline. The Run command supports the following custom parameters: diff --git a/realize.go b/realize.go index de66549..dbe0aa8 100644 --- a/realize.go +++ b/realize.go @@ -44,7 +44,6 @@ func main() { if gopath == "" { return errors.New("$GOPATH isn't set properly") } - r = realize{ Sync: make(chan string), Settings: settings.Settings{ diff --git a/watcher/cmd.go b/watcher/cmd.go index 84ca9fa..59cb889 100644 --- a/watcher/cmd.go +++ b/watcher/cmd.go @@ -56,7 +56,7 @@ func (h *Blueprint) Run(p *cli.Context) error { // env variables 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, BufferOut{Time: time.Now(), Text: err.Error(), Type: "Env error", Stream: ""}) } }