Skip to content

Commit

Permalink
Fix ending separator for the gopath
Browse files Browse the repository at this point in the history
  • Loading branch information
kujtimiihoxha committed Apr 1, 2019
1 parent 37c59ca commit 450402b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
func main() {
setDefaults()
viper.AutomaticEnv()
gosrc := utils.GetGOPATH() + afero.FilePathSeparator + "src" + afero.FilePathSeparator
gosrc := strings.TrimSuffix(utils.GetGOPATH(), afero.FilePathSeparator ) + afero.FilePathSeparator + "src" + afero.FilePathSeparator
pwd, err := os.Getwd()
if err != nil {
logrus.Error(err)
Expand Down

0 comments on commit 450402b

Please sign in to comment.