Fix bug where project name isn't properly detected

This commit is contained in:
spf13 2015-10-31 22:04:55 -04:00
parent 24562666ea
commit 9bd7cfaa66

View file

@ -112,8 +112,7 @@ func getSrcPath() string {
}
func projectName() string {
pp := ProjectPath()
return filepath.Dir(pp)
return filepath.Base(ProjectPath())
}
func guessProjectPath() {