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

Failure when adding a file to a directory name only #1

Open
John-K opened this issue Apr 21, 2017 · 0 comments
Open

Failure when adding a file to a directory name only #1

John-K opened this issue Apr 21, 2017 · 0 comments
Assignees

Comments

@John-K
Copy link
Owner

John-K commented Apr 21, 2017

The following fails, when it should just add a file to the directory:
./fatboy test.bin mkdir a
./fatboy test.bin add fatboy a

this also fails:
./fatboy test.bin add fatboy a/

this does what's expected:
./fatboy test.bin add fatboy a/fatboy

We should detect these errors, check if the target is a directory, and auto-fix the parameters to make it work.

@John-K John-K self-assigned this Apr 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant