Skip to content

Commit

Permalink
fix: πŸ› refactor #mkdtempSync to be compatible w/ strictNullChecks
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jul 7, 2019
1 parent f28c395 commit 7e22617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/volume.ts
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7e22617

Please sign in to comment.