From d2ca592be23a301424c45d17ee9129bf264edf06 Mon Sep 17 00:00:00 2001 From: alessio Date: Sun, 20 Nov 2016 19:21:04 +0100 Subject: [PATCH] run command fixed --- realize.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/realize.go b/realize.go index 7c3045e..221a91b 100644 --- a/realize.go +++ b/realize.go @@ -150,8 +150,10 @@ func main() { }, } 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.Blueprint.Run()) handle(r.Record(r))