v2.6.6: ignore unused property
This commit is contained in:
		
							parent
							
								
									911d05bb24
								
							
						
					
					
						commit
						88fca295dc
					
				
							
								
								
									
										3
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								index.js
									
									
									
									
									
								
							| @ -390,9 +390,6 @@ Greenlock.create = function (gl) { | |||||||
|           if (!gl.agreeTos) { |           if (!gl.agreeTos) { | ||||||
|             throw new Error("le-sni-auto is not properly configured. Missing 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)) { |           if (!/[a-z]/i.test(lexOpts.domain)) { | ||||||
|             throw new Error("le-sni-auto does not allow IP addresses by default"); |             throw new Error("le-sni-auto does not allow IP addresses by default"); | ||||||
|           } |           } | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "greenlock", |   "name": "greenlock", | ||||||
|   "version": "2.6.5", |   "version": "2.6.6", | ||||||
|   "description": "Let's Encrypt for node.js on npm", |   "description": "Let's Encrypt for node.js on npm", | ||||||
|   "main": "index.js", |   "main": "index.js", | ||||||
|   "files": [ |   "files": [ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user