sindresorhus/trash — pull request #11 by daleeidd (2014-09-07 06:33:09+00:00)
Title: Fix crash where file/directory name is a number

I came across this bug whilst trying to delete a directory with a number (e.g. '123') as its directory name on OS X. I have also amended the tests to test for this bug. I have not tested this on other systems.