remove console log of email address

This commit is contained in:
Sam Levan 2015-03-19 10:46:34 -07:00
parent 61273634f9
commit f828fb5a66

View File

@ -6,7 +6,6 @@ var free = fs.readFileSync(__dirname + '/data/free.txt').toString().split('\n').
function isFree(email) {
if (typeof email !== 'string') throw new TypeError('email must be a string');
console.log(email);
var domain = tldjs.getDomain(email.split('@').pop());
return free.indexOf(domain) !== -1;
}