From ec2b56893eb3d2977f602ecfd559461cd126c0d1 Mon Sep 17 00:00:00 2001 From: Alexei Kozachenko Date: Sat, 22 Sep 2018 23:40:13 -0400 Subject: [PATCH] Added/fixed mkdtemp method (issue 441) --- src/filesystem/implementation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filesystem/implementation.js b/src/filesystem/implementation.js index e1a4c4f..f0f1baf 100644 --- a/src/filesystem/implementation.js +++ b/src/filesystem/implementation.js @@ -1699,7 +1699,7 @@ function mkdtemp(fs, context, prefix, options, callback) { } }); } else { - callback(new Error('filename prefix is required'), path) + callback(new Error('filename prefix is required'), prefix) } }