v2.6.6: ignore unused property

This commit is contained in:
AJ ONeal 2018-12-22 07:29:42 -07:00
父節點 911d05bb24
當前提交 88fca295dc
共有 2 個檔案被更改,包括 1 行新增4 行删除

查看文件

@ -390,9 +390,6 @@ Greenlock.create = function (gl) {
if (!gl.agreeTos) {
throw new Error("le-sni-auto is not properly configured. Missing agreeTos");
}
if (!gl.approvedDomains.length) {
throw new Error("le-sni-auto is not properly configured. Missing approveDomains(domain, certs, callback)");
}
if (!/[a-z]/i.test(lexOpts.domain)) {
throw new Error("le-sni-auto does not allow IP addresses by default");
}

查看文件

@ -1,6 +1,6 @@
{
"name": "greenlock",
"version": "2.6.5",
"version": "2.6.6",
"description": "Let's Encrypt for node.js on npm",
"main": "index.js",
"files": [