add communityPackageVersion
This commit is contained in:
parent
df9a27ec20
commit
05e01ce947
1
index.js
1
index.js
|
@ -12,6 +12,7 @@ module.exports.create = function (opts) {
|
||||||
// accept all defaults for greenlock.challenges, greenlock.store, greenlock.middleware
|
// accept all defaults for greenlock.challenges, greenlock.store, greenlock.middleware
|
||||||
if (!opts._communityPackage) {
|
if (!opts._communityPackage) {
|
||||||
opts._communityPackage = 'greenlock-express.js';
|
opts._communityPackage = 'greenlock-express.js';
|
||||||
|
opts._communityPackageVersion = require('./package.json').version;
|
||||||
}
|
}
|
||||||
|
|
||||||
function explainError(e) {
|
function explainError(e) {
|
||||||
|
|
Loading…
Reference in New Issue