add communityPackageVersion

This commit is contained in:
AJ ONeal 2018-11-05 11:11:30 -07:00
parent df9a27ec20
commit 05e01ce947
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ module.exports.create = function (opts) {
// accept all defaults for greenlock.challenges, greenlock.store, greenlock.middleware
if (!opts._communityPackage) {
opts._communityPackage = 'greenlock-express.js';
opts._communityPackageVersion = require('./package.json').version;
}
function explainError(e) {