Skip to content

Commit

Permalink
Merge pull request #31 from kujtimiihoxha/fix_ending_separator
Browse files Browse the repository at this point in the history
Fix ending separator for the gopath
  • Loading branch information
kujtimiihoxha authored Apr 1, 2019
2 parents 543fc76 + 450402b commit e911108
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 @@ -17,7 +17,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 e911108

Please sign in to comment.