diff --git a/realize.go b/realize.go index 798752d..2042088 100644 --- a/realize.go +++ b/realize.go @@ -43,7 +43,7 @@ func main() { before := func(*cli.Context) error { gopath := os.Getenv("GOPATH") if gopath == "" { - return errors.New("$GOPATH isn't set up properly") + return errors.New("$GOPATH isn't set properly") } r = realize{ @@ -563,7 +563,7 @@ func main() { }, Quest: interact.Quest{ Options: style.Yellow.Regular("[y/n]"), - Msg: "Customize the watched paths", + Msg: "Customize watched paths", Resolve: func(d interact.Context) bool { val, _ := d.Ans().Bool() if val { @@ -608,7 +608,7 @@ func main() { }, Quest: interact.Quest{ Options: style.Yellow.Regular("[y/n]"), - Msg: "Customize the ignored paths", + Msg: "Customize ignored paths", Resolve: func(d interact.Context) bool { val, _ := d.Ans().Bool() if val { diff --git a/settings/settings.go b/settings/settings.go index a7700aa..58ae93a 100644 --- a/settings/settings.go +++ b/settings/settings.go @@ -54,7 +54,7 @@ func (s *Settings) Read(out interface{}) error { err = yaml.Unmarshal(content, out) return err } - return err + return nil } // Record create and unmarshal the yaml config file