Fixing more TS 3.7 related compile errors

- Import aliasing symbol in file
- Missing function calls in conditional
- Missing return statement
This commit is contained in:
Matt Bierner
2019-10-05 14:54:53 -07:00
parent 2b4638e1ac
commit 4c4edcefeb
9 changed files with 14 additions and 15 deletions

View File

@@ -160,7 +160,7 @@ export async function mkdirp(path: string, mode?: number): Promise<boolean> {
if (err.code === 'EEXIST') {
const stat = await nfcall<fs.Stats>(fs.stat, path);
if (stat.isDirectory) {
if (stat.isDirectory()) {
return;
}