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
|
// check no-config and read
|
||||||
if !c.Bool("no-config") {
|
if !c.Bool("no-config") {
|
||||||
// read a config if exist
|
// read a config if exist
|
||||||
err := r.Settings.Read(&r)
|
r.Settings.Read(&r)
|
||||||
if err != nil{
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
if c.String("name") != "" {
|
if c.String("name") != "" {
|
||||||
// filter by name flag if exist
|
// filter by name flag if exist
|
||||||
r.Schema.Projects = r.Schema.Filter("Name", c.String("name"))
|
r.Schema.Projects = r.Schema.Filter("Name", c.String("name"))
|
||||||
|
|
Loading…
Reference in New Issue