Struct names fixed
This commit is contained in:
parent
dff147f801
commit
153ea7defa
|
@ -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
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue