(func)
| 50 | } |
| 51 | |
| 52 | function getFuncPreview (func) { |
| 53 | // takes the first two lines of the function if nothing else works |
| 54 | return func.toString().split('\n', 2).map(s => s.trim()).join(' -- ') |
| 55 | } |
| 56 | |
| 57 | function getDisplayName (fn) { |
| 58 | return fn[Symbol.for('fastify.display-name')] |
nothing calls this directly
no test coverage detected
searching dependent graphs…