Compare commits
No commits in common. "03fdbe157abfa1ca4c0c8df2a3ff4999e4134016" and "c834d1603d16d44509aef0aced8099313f851894" have entirely different histories.
03fdbe157a
...
c834d1603d
10
index.js
10
index.js
|
@ -280,17 +280,13 @@ module.exports.create = function (configs) {
|
||||||
var bundleArchive = path.join(archiveDir, 'bundle' + checkpoints + '.pem');
|
var bundleArchive = path.join(archiveDir, 'bundle' + checkpoints + '.pem');
|
||||||
|
|
||||||
return mkdirpAsync(archiveDir).then(function () {
|
return mkdirpAsync(archiveDir).then(function () {
|
||||||
var ps = [
|
return PromiseA.all([
|
||||||
sfs.writeFileAsync(certArchive, pems.cert, 'ascii')
|
sfs.writeFileAsync(certArchive, pems.cert, 'ascii')
|
||||||
, sfs.writeFileAsync(chainArchive, pems.chain, 'ascii')
|
, sfs.writeFileAsync(chainArchive, pems.chain, 'ascii')
|
||||||
, sfs.writeFileAsync(fullchainArchive, [ pems.cert, pems.chain ].join('\n'), 'ascii')
|
, sfs.writeFileAsync(fullchainArchive, [ pems.cert, pems.chain ].join('\n'), 'ascii')
|
||||||
, sfs.writeFileAsync(privkeyArchive, pems.privkey, 'ascii')
|
, sfs.writeFileAsync(privkeyArchive, pems.privkey, 'ascii')
|
||||||
];
|
, sfs.writeFileAsync(bundleArchive, pems.bundle, 'ascii')
|
||||||
if (pems.bundle) {
|
]);
|
||||||
var bundleP = sfs.writeFileAsync(bundleArchive, pems.bundle, 'ascii');
|
|
||||||
ps.push(bundleP);
|
|
||||||
}
|
|
||||||
return PromiseA.all(ps);
|
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return mkdirpAsync(liveDir);
|
return mkdirpAsync(liveDir);
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "le-store-certbot",
|
"name": "le-store-certbot",
|
||||||
"version": "2.2.4",
|
"version": "2.2.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "le-store-certbot",
|
"name": "le-store-certbot",
|
||||||
"version": "2.2.4",
|
"version": "2.2.3",
|
||||||
"description": "The \"certbot\" storage strategy for Greenlock.js",
|
"description": "The \"certbot\" storage strategy for Greenlock.js",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bump": "npm version -m \"chore(release): bump to v%s\"",
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Reference in New Issue