Closed joakimbeng closed 9 years ago
totally agree! I just mentioned something about that this week (e.g that I needed to go back to this and do a rename function instead of just flattening) crazy coincidence, thank you!
looking forward to reviewing and merging tomorrow!
@jonschlinkert have you had any time looking at this?
not yet, I'll try today. Trying to get a deadline driven project completed. almost there!
sorry it's taking so long! This is on my priority list for today
No worries! I know the feeling, take your time :)
latest is published to npm, thanks again, I really appreciate it!
Copying a complete directory including subdirectories does not work at the moment.
Example:
Directory structure:
And a
rewrite
option like so:Will throw an
ENOENT
error for the/dest/src
directory.This PR addresses that by calling
mkdirp
for each file's destination folder, instead of only for the top most destination folder.Note: I also think that a
rewrite
function like the one above would be a more logical default, instead of flattening like now, what do you think?