Closed sindresorhus closed 9 years ago
I'll give this a shot this weekend. Doesn't seem so bad!
Question: Should the glob support be automatic or should the user supply an option? I got it working, but it doesn't match 'weird\\\\name\\"\''
because of the /
s. It makes globby think it's a directory listing. Since it doesn't find one, it doesn't delete the file.
Sorry if you're busy Sindre, but let me know what you think of this ~_~ The "weird name" test is the only issue, assuming automatic globbing.
Yes, should be just automatic. To fix the mentioned problem we should set nonull: true
in globby
.
https://github.com/isaacs/node-glob#comparisons-to-other-fnmatchglob-implementations
Thanks. Expect a PR soon!
Using globby.sync().
trash-cli
readmePR welcome :)