diff --git a/src/lib/fs.js b/src/lib/fs.js index 023bd3ef023..63791e946af 100644 --- a/src/lib/fs.js +++ b/src/lib/fs.js @@ -9,7 +9,7 @@ const statAsync = promisify(fs.stat) const readFileAsync = promisify(fs.readFile) const writeFileAsync = promisify(fs.writeFile) const accessAsync = promisify(fs.access) -const mkdtempAsync = promisify(fs.mkdtempSync) +const mkdtempAsync = promisify(fs.mkdtemp) const appendFileAsync = promisify(fs.appendFile) const readFileAsyncCatchError = async (filepath) => {