cmd: Fix trimSrcPath doc

This commit is contained in:
Albert Nigmatzianov 2017-04-29 22:50:31 +02:00
parent 66cfd1f132
commit 903e5b7073

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 {