run command fixed

This commit is contained in:
alessio 2016-11-20 19:21:04 +01:00
parent 21eee314cf
commit d2ca592be2

View File

@ -150,8 +150,10 @@ func main() {
}, },
} }
r.Blueprint.Projects = r.Blueprint.Projects[:0] r.Blueprint.Projects = r.Blueprint.Projects[:0]
r.Blueprint.Add(p)
} else if len(r.Blueprint.Projects) <= 0 {
r.Blueprint.Add(p)
} }
r.Blueprint.Add(p)
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))