Merge pull request #3 from mozilla-iot/fixed_logs

Fixing messages
This commit is contained in:
Andre Natal 2017-06-21 14:58:19 -07:00 committed by GitHub
commit 795e52a978
1 changed files with 1 additions and 7 deletions

View File

@ -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 {
@ -70,11 +69,6 @@ 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);
//}); //});
}; };