From 08d6a9e936516f8001ca9649079fcf283567c84c Mon Sep 17 00:00:00 2001 From: Omer Cohen Date: Fri, 12 Feb 2016 11:51:17 +0200 Subject: [PATCH] Update challenge-handlers.js fixes #13 --- lib/challenge-handlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/challenge-handlers.js b/lib/challenge-handlers.js index eb08000..0bb463a 100644 --- a/lib/challenge-handlers.js +++ b/lib/challenge-handlers.js @@ -26,7 +26,7 @@ module.exports = { if (args.debug) { console.debug('[LEX] mkdirp', webrootPath); } - mkdirp(webrootPath, function () { + mkdirp(webrootPath, function (err) { if (err) { cb(err); return; } fs.writeFile(keyfile, value, 'utf8', cb);