()
| 323 | |
| 324 | const node = this; |
| 325 | function getTrace() { |
| 326 | if (options.stackTraceOverride && options.stackTraceOverride.length > 0) { |
| 327 | return options.stackTraceOverride; |
| 328 | } |
| 329 | const shouldTrace = options.stackTrace ?? false; |
| 330 | return shouldTrace ? captureStackTrace(options.traceFromFunction ?? node.addMetadata) : undefined; |
| 331 | } |
| 332 | |
| 333 | if (!this._metadata) { |
| 334 | this._metadata = []; |
nothing calls this directly
no test coverage detected