-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Trash multiple files won't get put back
options on OS X
#24
Comments
Hmm, I can reproduce too. Weird. I'll look into it.
Count the files before passing them into |
I tried to track down this bug but what I discover here is really weird. When running the tests, all the files created and trashed by the tests are able to But when I run this small piece of code fs.writeFileSync('fixture', '');
trash(['fixture', 'hello.txt']); Where The |
Oh, and if I add an extension to |
@SamVerschueren The issue is that only the first file sent the trash has |
cron1 does not appear to allow
put back
in trash.The only difference appear to be cron1 pass all files to
trash
at once, cron2 pass and runtrash
1 by 1. I might be doing something wrong, but unable to spot it.PS: since
trash
is silent, do you see anyway I can make this command verbose? so I can do a simple| wc -l
at the end to count files?The text was updated successfully, but these errors were encountered: