You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
| 1234567891011 |
- import warn from './console/warn';
- import mightBeEmail from './mightBeEmail';
- var redacted = 'REDACTED (Potential Email Address)';
- export default function redactEmail(string) {
- if (mightBeEmail(string)) {
- warn('This arg looks like an email address, redacting.');
- return redacted;
- }
-
- return string;
- }
|