We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edb843b commit 42bf833Copy full SHA for 42bf833
src/util/fs.ts
@@ -100,7 +100,9 @@ export const readFileSync = (filePath) => {
100
*/
101
export const mkdir = (path) => {
102
debug(`mkdir called on ${path}`)
103
- return mkdirp(path).then(() => '')
+ return mkdirp(path)
104
+ .then(() => '')
105
+ .catch(error => Promise.reject(error))
106
}
107
108
/**
0 commit comments