Update challenge-handlers.js

fixes #13
This commit is contained in:
Omer Cohen 2016-02-12 11:51:17 +02:00
parent 8d27e09217
commit 08d6a9e936
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ module.exports = {
if (args.debug) { if (args.debug) {
console.debug('[LEX] mkdirp', webrootPath); console.debug('[LEX] mkdirp', webrootPath);
} }
mkdirp(webrootPath, function () { mkdirp(webrootPath, function (err) {
if (err) { cb(err); return; } if (err) { cb(err); return; }
fs.writeFile(keyfile, value, 'utf8', cb); fs.writeFile(keyfile, value, 'utf8', cb);