import makeDirectory from './make-directory';

async function copySafe(source, target) {
	await mkdirp(dirname(target));
	await copyFile(source, target);
}


@@ -1,8 +1,78 @@
+import %7B%0A%09dirname%0A%7D from 'path';%0A%0Aimport copyFile from './copy-file';%0A
 import m
@@ -110,16 +110,31 @@
 tory';%0A%0A
+export default 
 async fu
@@ -179,13 +179,20 @@
 it m
-kdirp
+akeDirectory
 (dir
@@ -241,9 +241,8 @@
 get);%0A%7D%0A
-%0A

repair copy-safe utility