-
Couldn't load subscription status.
- Fork 79
Open
Description
I'm not a ruby expert but as it looks like the plugin searches in the plugin/gem directory for the swiftlint binary:
| File.expand_path(File.join(File.dirname(__FILE__), 'bin', 'swiftlint')) |
Usually people install the binary using Homebrew or Mint. In both cases the binary will be stored/linked in /usr/local/bin. What if we implement a list of paths that get checked for the binary. The one with a match is returned. We could prioritize the current default path if desired, so that all the current implementations don't have to change anything. As second option I would like to check /user/local/bin.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels