This commit is contained in:
Nathan Shively-Sanders 2017-10-18 15:32:24 -07:00
parent 93c2b10f68
commit 79c672424e

View file

@ -570,6 +570,7 @@ namespace ts {
realpath
};
}
function recursiveCreateDirectory(directoryPath: string, sys: System) {
const basePath = getDirectoryPath(directoryPath);
const shouldCreateParent = basePath !== "" && directoryPath !== basePath && !sys.directoryExists(basePath);