diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-13 21:16:21 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-13 21:16:21 +1000 |
commit | 9e725ae24e8fcecefec35a65b50476d371653ffb (patch) | |
tree | 840df3748f981967a3b9f7c276602832dab360d3 /pkg/utils | |
parent | 97cff656121270e9c790432e28622d92ab7b0f1a (diff) |
got this bad boy compiling again
Diffstat (limited to 'pkg/utils')
-rw-r--r-- | pkg/utils/utils.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go index b3efcc2db..68438246a 100644 --- a/pkg/utils/utils.go +++ b/pkg/utils/utils.go @@ -46,8 +46,8 @@ func ColoredStringDirect(str string, colour *color.Color) string { return colour.SprintFunc()(fmt.Sprint(str)) } -// GetCurrentProject gets the repo's base name -func GetCurrentProject() string { +// GetCurrentRepoName gets the repo's base name +func GetCurrentRepoName() string { pwd, err := os.Getwd() if err != nil { log.Fatalln(err.Error()) |