aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src/utils/compiler.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-11 00:56:32 +0800
committerFabio Berger <me@fabioberger.com>2018-05-11 00:56:32 +0800
commit5a73b8a8e66a3b12a526fa44f77a80f6620dc130 (patch)
treec734bf892b41ec948304bc2a0deba0013f904324 /packages/deployer/src/utils/compiler.ts
parentda62a0af3bf1b869a89b503d63ecc8db24e8dda8 (diff)
downloaddexon-0x-contracts-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar
dexon-0x-contracts-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar.gz
dexon-0x-contracts-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar.bz2
dexon-0x-contracts-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar.lz
dexon-0x-contracts-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar.xz
dexon-0x-contracts-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar.zst
dexon-0x-contracts-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.zip
Replace mkdir with mkdirp so it also created any missing intermediate directories
Diffstat (limited to 'packages/deployer/src/utils/compiler.ts')
-rw-r--r--packages/deployer/src/utils/compiler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/deployer/src/utils/compiler.ts b/packages/deployer/src/utils/compiler.ts
index c571b2581..3731385e2 100644
--- a/packages/deployer/src/utils/compiler.ts
+++ b/packages/deployer/src/utils/compiler.ts
@@ -40,7 +40,7 @@ export async function getContractArtifactIfExistsAsync(
export async function createDirIfDoesNotExistAsync(dirPath: string): Promise<void> {
if (!fsWrapper.doesPathExistSync(dirPath)) {
logUtils.log(`Creating directory at ${dirPath}...`);
- await fsWrapper.mkdirAsync(dirPath);
+ await fsWrapper.mkdirpAsync(dirPath);
}
}