diff --git a/cobra/cmd/helpers.go b/cobra/cmd/helpers.go index 0cdbd64..28f7003 100644 --- a/cobra/cmd/helpers.go +++ b/cobra/cmd/helpers.go @@ -112,8 +112,7 @@ func getSrcPath() string { } func projectName() string { - pp := ProjectPath() - return filepath.Dir(pp) + return filepath.Base(ProjectPath()) } func guessProjectPath() {