Use fs to determine if dest is a directory #13

wants to merge 1 commit into


None yet
1 participant

The directory test for options.dest currently looks for a trailing slash. If a directory without a trailing slash is passed, the task has no effect.

Node's fs provides a method to determine if a path is a directory (with or without trailing slash).

NOTE: Tests are failing in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment