diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-11 00:56:32 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-05-11 00:56:32 +0800 |
commit | 5a73b8a8e66a3b12a526fa44f77a80f6620dc130 (patch) | |
tree | c734bf892b41ec948304bc2a0deba0013f904324 /packages/deployer/src/utils/compiler.ts | |
parent | da62a0af3bf1b869a89b503d63ecc8db24e8dda8 (diff) | |
download | dexon-sol-tools-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar dexon-sol-tools-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar.gz dexon-sol-tools-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar.bz2 dexon-sol-tools-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar.lz dexon-sol-tools-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar.xz dexon-sol-tools-5a73b8a8e66a3b12a526fa44f77a80f6620dc130.tar.zst dexon-sol-tools-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.ts | 2 |
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); } } |