Merge pull request #17 from omercnet/patch-1
Update challenge-handlers.js
This commit is contained in:
commit
63ab09f060
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue