start fixed with no config
This commit is contained in:
parent
153ea7defa
commit
600b1ac467
|
@ -1128,10 +1128,7 @@ func start(c *cli.Context) (err error) {
|
|||
// check no-config and read
|
||||
if !c.Bool("no-config") {
|
||||
// read a config if exist
|
||||
err := r.Settings.Read(&r)
|
||||
if err != nil{
|
||||
return err
|
||||
}
|
||||
r.Settings.Read(&r)
|
||||
if c.String("name") != "" {
|
||||
// filter by name flag if exist
|
||||
r.Schema.Projects = r.Schema.Filter("Name", c.String("name"))
|
||||
|
|
Loading…
Reference in New Issue