parent
8d27e09217
commit
08d6a9e936
|
@ -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