Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundant leading space in the result returned by 'n bin' #456

Closed
fedulovivan opened this issue Aug 9, 2017 · 2 comments
Closed

Redundant leading space in the result returned by 'n bin' #456

fedulovivan opened this issue Aug 9, 2017 · 2 comments
Assignees
Labels

Comments

@fedulovivan
Copy link

n/bin/n

Line 647 in 4d67e79

printf "$bin \n"

First of all thanks for a great tool!
Noticed that resulted string, returned by n bin command, contains a space at the end. In some cases like ls "$(n bin 0.12.7)" it may become crucial. Latter command will produce error ls: /usr/local/n/versions/node/0.12.7/bin/node : No such file or directory.

@shadowspawn shadowspawn self-assigned this Mar 29, 2019
@shadowspawn
Copy link
Collaborator

Fixed on develop branch, will be in next release

@shadowspawn
Copy link
Collaborator

Fixed in v4.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants