diff --git a/CHANGELOG.md b/CHANGELOG.md index e030cfe..882cd3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log (go-package-manager) -## 0.29.7 +## 0.29.8 - feat: self-update by executing `gpm update --self` - chore: improve (self-)update scripts diff --git a/commands/doctor.go b/commands/doctor.go index 2dfe037..ad0804e 100644 --- a/commands/doctor.go +++ b/commands/doctor.go @@ -120,7 +120,7 @@ func Init_Doctor_Command(parentCmd *cobra.Command, app *types.AppContext) { for _, item := range goMod.Require { refItem := &item - refItem.Path = strings.TrimSpace(strings.ToLower(refItem.Path)) + refItem.Path = strings.TrimSpace(refItem.Path) refItem.Version = strings.TrimSpace(refItem.Version) allItems = append(allItems, refItem) @@ -139,7 +139,7 @@ func Init_Doctor_Command(parentCmd *cobra.Command, app *types.AppContext) { thisVersion, err := version.NewVersion(strings.TrimSpace(item.Version)) if err == nil { - url := fmt.Sprintf("https://proxy.golang.org/%s/@latest", item.Path) + url := fmt.Sprintf("https://proxy.golang.org/%s/@latest", strings.ToLower(item.Path)) req, err := http.NewRequest("GET", url, bytes.NewBuffer([]byte{})) if err == nil { client := &http.Client{}