bug fix #80
This commit is contained in:
parent
192dc3e179
commit
cc88af49cd
|
@ -15,7 +15,11 @@ func (h *Blueprint) Run(p *cli.Context) error {
|
|||
err := h.check()
|
||||
if err == nil {
|
||||
// loop projects
|
||||
wg.Add(len(h.Projects))
|
||||
if p.String("name") != ""{
|
||||
wg.Add(1)
|
||||
}else{
|
||||
wg.Add(len(h.Projects))
|
||||
}
|
||||
for k, element := range h.Projects {
|
||||
if p.String("name") != "" && h.Projects[k].Name != p.String("name") {
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue