From 7e22617c55ac935edf5dc0dc093e3e8c393c7d2d Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sun, 7 Jul 2019 13:51:35 +1200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20refactor=20`#mkdtempSync`?= =?UTF-8?q?=20to=20be=20compatible=20w/=20`strictNullChecks`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/volume.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/volume.ts b/src/volume.ts index 5f84a59b..191c390b 100644 --- a/src/volume.ts +++ b/src/volume.ts @@ -1881,7 +1881,7 @@ export class Volume { if (!prefix || typeof prefix !== 'string') throw new TypeError('filename prefix is required'); - if (!nullCheck(prefix)) return; + nullCheck(prefix); return this.mkdtempBase(prefix, encoding); }