cmd: Fix trimSrcPath doc

This commit is contained in:
Albert Nigmatzianov 2017-04-29 22:50:31 +02:00
parent 66cfd1f132
commit 903e5b7073
1 changed files with 1 additions and 1 deletions

View File

@ -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 {