diff --git a/cmd/project.go b/cmd/project.go index 92301e4..cf4ba3c 100644 --- a/cmd/project.go +++ b/cmd/project.go @@ -58,7 +58,7 @@ func init() { } func mustHaveProjects(cmd *cobra.Command, args []string) { - if len(cache.Aliases) == 0 { + if len(cache.Projects) == 0 { plog.Fatal("No projects to " + cmd.Name() + ", try running cache load") } }