We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1348bb4 commit a5f6696Copy full SHA for a5f6696
src/request/email.ts
@@ -96,10 +96,10 @@ export default class Email implements EmailProps {
96
97
private cleanDomain(domain: string) {
98
// We don't need to trim the domain as if it has any leading whitespace
99
- // validation rejects it as invalid.
+ // validation (isEmail()) rejects it as invalid.
100
101
- // We don't need to strip a trailing '.' because validation rejects domains
102
- // that have it.
+ // We don't need to strip a trailing '.' because validation (isEmail())
+ // rejects domains that have it.
103
104
domain = punycode.toASCII(domain);
105
0 commit comments