updated to fix some pyconf bugs
This commit is contained in:
parent
1c00c8c901
commit
46c1d45205
|
@ -111,7 +111,10 @@ function writeRenewalConfig(args) {
|
||||||
return mkdirpAsync(path.dirname(args.renewalPath)).then(function () {
|
return mkdirpAsync(path.dirname(args.renewalPath)).then(function () {
|
||||||
return pyconf.writeFileAsync(args.renewalPath, pyobj);
|
return pyconf.writeFileAsync(args.renewalPath, pyobj);
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return pyobj;
|
// NOTE
|
||||||
|
// writing twice seems to causes a bug,
|
||||||
|
// so instead we re-read the file from the disk
|
||||||
|
return pyconf.readFileAsync(args.renewalPath);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
"homedir": "^0.6.0",
|
"homedir": "^0.6.0",
|
||||||
"letiny-core": "^1.0.3",
|
"letiny-core": "^1.0.3",
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"pyconf": "^1.1.0",
|
"pyconf": "^1.1.2",
|
||||||
"request": "^2.67.0",
|
"request": "^2.67.0",
|
||||||
"safe-replace": "^1.0.2"
|
"safe-replace": "^1.0.2"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue