wakatime / wakatime-cli

Command line interface used by all WakaTime text editor plugins
https://wakatime.com/plugins
BSD 3-Clause "New" or "Revised" License
297 stars 41 forks source link

Consider removing the replace directive in `go.mod` #1109

Closed petricavalry closed 1 month ago

petricavalry commented 1 month ago

Hi. I tried to install wakatime-cli by go install.

go install github.com/wakatime/wakatime-cli@v1.102.1
go: github.com/wakatime/wakatime-cli@v1.102.1 (in github.com/wakatime/wakatime-cli@v1.102.1):
    The go.mod file for the module providing named packages contains one or
    more replace directives. It must not contain directives that would cause
    it to be interpreted differently than if it were the main module.

Please consider removing the replace directive. Changes in wakatime/goInfo already been merged to matishsiao/goInfo.

https://github.com/wakatime/wakatime-cli/blob/660b2b9702f3bc598e96cb8b8e9f459a6c2928c3/go.mod#L58

Thanks for all amazing work in wakatime-cli and goInfo.

alanhamlett commented 1 month ago

Done in #1110