From 153ea7defacf0cd33fadd62e314d8ed785de5cec Mon Sep 17 00:00:00 2001 From: asoseil Date: Fri, 9 Feb 2018 17:58:58 +0100 Subject: [PATCH] Struct names fixed --- realize.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/realize.go b/realize.go index 76b06ca..d365854 100644 --- a/realize.go +++ b/realize.go @@ -795,7 +795,7 @@ func setup(c *cli.Context) (err error) { Resolve: func(d interact.Context) bool { val, _ := d.Ans().Bool() if val { - r.Schema.Projects[len(r.Schema.Projects)-1].Watcher.IgnoredPaths = r.Schema.Projects[len(r.Schema.Projects)-1].Watcher.IgnoredPaths[:len(r.Schema.Projects[len(r.Schema.Projects)-1].Watcher.IgnoredPaths)-1] + r.Schema.Projects[len(r.Schema.Projects)-1].Watcher.Ignore.Paths = r.Schema.Projects[len(r.Schema.Projects)-1].Watcher.Ignore.Paths[:len(r.Schema.Projects[len(r.Schema.Projects)-1].Watcher.Ignore.Paths)-1] } return val }, @@ -815,7 +815,7 @@ func setup(c *cli.Context) (err error) { if err != nil { return d.Err() } - r.Schema.Projects[len(r.Schema.Projects)-1].Watcher.IgnoredPaths = append(r.Schema.Projects[len(r.Schema.Projects)-1].Watcher.IgnoredPaths, val) + r.Schema.Projects[len(r.Schema.Projects)-1].Watcher.Ignore.Paths = append(r.Schema.Projects[len(r.Schema.Projects)-1].Watcher.Ignore.Paths, val) d.Reload() return nil }, @@ -1081,7 +1081,7 @@ func setup(c *cli.Context) (err error) { if err != nil { return d.Err() } - r.Schema.Projects[len(r.Schema.Projects)-1].ErrorOutputPattern = val + r.Schema.Projects[len(r.Schema.Projects)-1].ErrPattern = val return nil }, },