sanbornm / go-selfupdate

Enable your Go applications to self update
MIT License
1.53k stars 175 forks source link

WantUpdate method comment #49

Open capricornusx opened 10 months ago

capricornusx commented 10 months ago

The comment does not correspond to the logic of the function. Which should be correct, comment or code?

https://github.com/sanbornm/go-selfupdate/blob/e1c03e3d6ac7f1c43cf57c51a28cac3b31041ed0/selfupdate/selfupdate.go#L120-L131