Cleaned up

This commit is contained in:
Byron Igoe
2018-05-01 10:42:51 -04:00
committed by Max Brunsfeld
parent a885d8a030
commit f17add20c1

View File

@@ -147,7 +147,7 @@ async function tryStatFile (path) {
}
async function copyFile (source, destination, mode) {
mkdirp.sync(path.dirname(destination));
mkdirp.sync(Path.dirname(destination))
return new Promise((resolve, reject) => {
const readStream = fs.createReadStream(source)
readStream