Fixing messages
This commit is contained in:
		
							parent
							
								
									d983158ec0
								
							
						
					
					
						commit
						6e44d2d5b1
					
				
							
								
								
									
										8
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								index.js
									
									
									
									
									
								
							@ -31,7 +31,6 @@ Challenge.set = function (args, domain, challenge, keyAuthorization, cb) {
 | 
				
			|||||||
  if (this.leDnsResponse) {
 | 
					  if (this.leDnsResponse) {
 | 
				
			||||||
      this.leDnsResponse(challenge, keyAuthorization, keyAuthDigest, challengeDomain, domain)
 | 
					      this.leDnsResponse(challenge, keyAuthorization, keyAuthDigest, challengeDomain, domain)
 | 
				
			||||||
      .then((successMessage) => {
 | 
					      .then((successMessage) => {
 | 
				
			||||||
          console.log("Yay! " + successMessage);
 | 
					 | 
				
			||||||
          cb(null);
 | 
					          cb(null);
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
  } else {
 | 
					  } else {
 | 
				
			||||||
@ -69,12 +68,7 @@ Challenge.get = function (defaults, domain, challenge, cb) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// might as well tell the user that whatever they were setting up has been checked
 | 
					// might as well tell the user that whatever they were setting up has been checked
 | 
				
			||||||
Challenge.remove = function (args, domain, challenge, cb) {
 | 
					Challenge.remove = function (args, domain, challenge, cb) {
 | 
				
			||||||
  console.info("Challenge for '" + domain + "' complete. You may remove it.");
 | 
					    console.info("Challenge for '" + domain + "' complete. You may remove it.");
 | 
				
			||||||
  console.info("");
 | 
					 | 
				
			||||||
  //console.info("hit enter to continue...");
 | 
					 | 
				
			||||||
  //process.stdin.resume();
 | 
					 | 
				
			||||||
  //process.stdin.on('data', function () {
 | 
					 | 
				
			||||||
  //  process.stdin.pause();
 | 
					 | 
				
			||||||
    cb(null);
 | 
					    cb(null);
 | 
				
			||||||
  //});
 | 
					  //});
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user