Closed michael-k closed 9 years ago
fs.mkdir fails for -d "", so I added "." + path.sep to commander.destination instead of repeating it over and over.
fs.mkdir
-d ""
"." + path.sep
commander.destination
Thank you for the contribution. I think I am going to remove the "." + path.sep from your commit so users can also enter absolute paths too.
:+1: path.normalize() makes -d "" possible in a much better way.
path.normalize()
fs.mkdir
fails for-d ""
, so I added"." + path.sep
tocommander.destination
instead of repeating it over and over.