-
Notifications
You must be signed in to change notification settings - Fork 47
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
Can't remove a binary installed to the relative path #184
Comments
By the way, maybe treat a simple string (just a string without slashes) as a binary name, not as a path, so put it into the default directory, instead of the current one? And for the current directory recommend passing |
yes, this makes sense. Would you like to give this one a try? Happy to help shipping this. |
I'm not so familiar with Golang, but will try when will I get over the fear of trying :) |
I think the detection of the path is it relative or just a name - should be done somewhere here: Line 44 in f7265c4
The regexp check via |
fixes #184 Signed-off-by: Marcos Lilljedahl <[email protected]>
👋 apologies the delay. just released a new version with the fix. |
fixes #184 Signed-off-by: Marcos Lilljedahl <[email protected]>
fixes #184 Signed-off-by: Marcos Lilljedahl <[email protected]>
I installed a binary specifying only the binary name like this:
It put the binary to the current directory, instead of the default
~/.local/bin
- that's probably okay.But then I can't remove this binary using the
bin remove
command - it produces no errors, but the binary remains in the list of installed, here is the output:The text was updated successfully, but these errors were encountered: