(warning, type, code, ctor)
| 181 | } |
| 182 | |
| 183 | function emitWarningSync(warning, type, code, ctor) { |
| 184 | process.emit('warning', createWarningObject(warning, type, code, ctor)); |
| 185 | } |
| 186 | |
| 187 | function createWarningObject(warning, type, code, ctor, detail) { |
| 188 | assert(typeof warning === 'string'); |
no test coverage detected
searching dependent graphs…