Merge pull request #17 from omercnet/patch-1

Update challenge-handlers.js
This commit is contained in:
AJ ONeal 2016-02-15 11:54:29 -07:00
commit 63ab09f060
1 changed files with 1 additions and 1 deletions

View File

@ -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);