r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.37k stars 162 forks source link

go-global-update-issue #937

Closed jtsagata closed 2 years ago

jtsagata commented 2 years ago

There is not trimming of the GOPATH and have a new line at the end

$ topgrade --only go 

 2022-05-21T13:45:00.454Z DEBUG topgrade::runner     > Step "Go"
 2022-05-21T13:45:00.454Z DEBUG topgrade::utils      > Detected "/usr/bin/go" as "go"
...
Go: SKIPPED: Path "/home/asfodelus/go\n/bin/go-global-update" doesn't exist

Same with $ GOPATH=$HOME/go topgrade --verbose --only go

$ topgrade --dry-run --only go
Dry running: /usr/bin/go env GOPATH