From f0d0a90dd9d00ac6e1dd4708c7afb7ae69fe0bd6 Mon Sep 17 00:00:00 2001 From: Matt Eldridge Date: Thu, 20 Oct 2016 15:42:19 -0400 Subject: [PATCH 1/2] Add hint to error msg when SpreadDirectory is not found. Fix whitespace. --- cli/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cli.go b/cli/cli.go index 95f9255..23f8df0 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -53,7 +53,7 @@ func (c SpreadCli) project() (*project.Project, error) { root, found := findPath(c.workDir, project.SpreadDirectory, true) if !found { - return nil, fmt.Errorf("Not in a Spread project.") + return nil, fmt.Errorf("Not in a Spread project. (see `spread init --help`)") } proj, err := project.OpenProject(root) From 5068c3fe0dc1c78b04fb7b667133e2e15c55c11c Mon Sep 17 00:00:00 2001 From: Matt Eldridge Date: Thu, 20 Oct 2016 15:46:22 -0400 Subject: [PATCH 2/2] Fix whitespace. Fix whitespace. --- cli/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cli.go b/cli/cli.go index 23f8df0..2872e48 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -53,7 +53,7 @@ func (c SpreadCli) project() (*project.Project, error) { root, found := findPath(c.workDir, project.SpreadDirectory, true) if !found { - return nil, fmt.Errorf("Not in a Spread project. (see `spread init --help`)") + return nil, fmt.Errorf("Not in a Spread project. (see `spread init --help`)") } proj, err := project.OpenProject(root)