(set)
| 46 | // Emits warning when user sets |
| 47 | // NODE_DEBUG=http or NODE_DEBUG=http2. |
| 48 | function emitWarningIfNeeded(set) { |
| 49 | if ('HTTP' === set || 'HTTP2' === set) { |
| 50 | process.emitWarning('Setting the NODE_DEBUG environment variable ' + |
| 51 | 'to \'' + StringPrototypeToLowerCase(set) + '\' can expose sensitive ' + |
| 52 | 'data (such as passwords, tokens and authentication headers) ' + |
| 53 | 'in the resulting log.'); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | const noop = () => {}; |
| 58 |
no outgoing calls
no test coverage detected
searching dependent graphs…