Closed ghost closed 1 year ago
thanks for report, that's a reasonable request, I'll fix it soon.
I just saw that you updated the plugin, with this change. I tried it locally and it worked perfectly. Thanks so much for the exceptionally fast turnaround! :)
Summary
Today, when you select a path to golangci-lint, it follows the symlink if it is one (at least on the Mac). For example, I have golangci-lint installed via brew, so I have:
Today:
/opt/homebrew/var/homebrew/linked/golangci-lint
, then/opt/homebrew/Cellar/golangci-lint/1.52.2/bin/golangci-lint
.This means that as soon as I run
brew upgrade golangci-lint
, the config is broken (because brew will delete the old version after it creates the new one). I really did want the path to be/opt/homebrew/var/homebrew/linked/golangci-lint
, which always points to the latest.Workaround
/opt/homebrew/var/homebrew/linked/golangci-lint
:It looks like the symlink resolution only happens when you select the file (not during Intellij's startup, for example), so this does stick to the symlink itself (as I wanted).
Versions info