server run fixed

This commit is contained in:
alessio 2017-04-01 19:42:11 +02:00
parent 98fa2c02d6
commit 4922ed31d2
1 changed files with 1 additions and 3 deletions

View File

@ -147,9 +147,7 @@ func main() {
r.Blueprint.Projects = []w.Project{} r.Blueprint.Projects = []w.Project{}
handle(r.Blueprint.Add(p)) handle(r.Blueprint.Add(p))
} }
if p.Bool("server") { handle(r.Server.Start(p))
handle(r.Server.Start(p))
}
handle(r.Blueprint.Run()) handle(r.Blueprint.Run())
handle(r.Record(r)) handle(r.Record(r))
return nil return nil