|
|
@ -111,7 +111,10 @@ function writeRenewalConfig(args) { |
|
|
|
return mkdirpAsync(path.dirname(args.renewalPath)).then(function () { |
|
|
|
return pyconf.writeFileAsync(args.renewalPath, pyobj); |
|
|
|
}).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); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|