From 903e5b70739215a0ba69675651149c583ad50d0f Mon Sep 17 00:00:00 2001 From: Albert Nigmatzianov Date: Sat, 29 Apr 2017 22:50:31 +0200 Subject: [PATCH] cmd: Fix trimSrcPath doc --- cobra/cmd/project.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cobra/cmd/project.go b/cobra/cmd/project.go index 87acae3..2c88566 100644 --- a/cobra/cmd/project.go +++ b/cobra/cmd/project.go @@ -85,7 +85,7 @@ func NewProjectFromPath(absPath string) *Project { return p } -// trimSrcPath trims at the end of absPaththe srcPath. +// trimSrcPath trims at the beginning of absPath the srcPath. func trimSrcPath(absPath, srcPath string) string { relPath, err := filepath.Rel(srcPath, absPath) if err != nil {