func validate(projects pvi.Projects, c config) { if projects.Len() == 0 { log.Printf("No project directories found under %s", *c.path) os.Exit(0) } }