Closed xtqqczze closed 5 years ago
According to the documentation for the Directory.CreateDirectory method, "If the directory already exists, this method does not create a new directory, but it returns a DirectoryInfo object for the existing directory."
Oh, apologies for not getting back to you. I actually did not see this. Feel free to @ me if I don't answer.
I'll plan to come back and have look! Thanks for the PR.
@gaelcolas Ready to merge?
Yeah. sorry I forgot last push. And I don't seem to have my skip CI setup on this project. Will have a look soon.
Removed redundant directory exists check as CreateDirectory does nothing in this case.