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) } }