rhysd / go-github-selfupdate

Binary self-update mechanism for Go commands using GitHub

Home Page:https://godoc.org/github.com/rhysd/go-github-selfupdate/selfupdate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UpdateSelf not returning error in case the GithubToken doesn't have required access

arindam-cn opened this issue · comments

UpdateSelf method: latest, err := up.UpdateSelf(v, "myname/myrepo") not returning error in case the GithubToken doesn't have required access like in case repo access is not provided to the token. It shows the current version as latest and error is returned as nil. Instead it should return error that tool can't fetch latest update or something.