diff options
Diffstat (limited to 'packages/deployer/src/utils/fs_wrapper.ts')
-rw-r--r-- | packages/deployer/src/utils/fs_wrapper.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/deployer/src/utils/fs_wrapper.ts b/packages/deployer/src/utils/fs_wrapper.ts index e02c83f27..cc7b06175 100644 --- a/packages/deployer/src/utils/fs_wrapper.ts +++ b/packages/deployer/src/utils/fs_wrapper.ts @@ -1,11 +1,12 @@ import { promisify } from '@0xproject/utils'; import * as fs from 'fs'; +import * as mkdirp from 'mkdirp'; export const fsWrapper = { readdirAsync: promisify<string[]>(fs.readdir), readFileAsync: promisify<string>(fs.readFile), writeFileAsync: promisify<undefined>(fs.writeFile), - mkdirAsync: promisify<undefined>(fs.mkdir), + mkdirpAsync: promisify<undefined>(mkdirp), doesPathExistSync: fs.existsSync, rmdirSync: fs.rmdirSync, removeFileAsync: promisify<undefined>(fs.unlink), |