Open duckpuppy opened 2 years ago
Describe the bug If node is in the current executable search path, the node segment shows the node version even if not in a node project.
node
To Reproduce Steps to reproduce the behavior:
Expected behavior Node segment should only show up when in a node project (ie. when there's also a package version)
Environment (please complete the following information):
Additional context Bug was added with this commit: https://github.com/justjanne/powerline-go/commit/14bfc26b16a860d78703fb94131bf05fa14610a4
The segment should not be visible unless there's also a package version to display.
Describe the bug If
node
is in the current executable search path, the node segment shows the node version even if not in a node project.To Reproduce Steps to reproduce the behavior:
Expected behavior Node segment should only show up when in a node project (ie. when there's also a package version)
Environment (please complete the following information):
Additional context Bug was added with this commit: https://github.com/justjanne/powerline-go/commit/14bfc26b16a860d78703fb94131bf05fa14610a4
The segment should not be visible unless there's also a package version to display.