()
| 336 | |
| 337 | const node = this; |
| 338 | function getTrace() { |
| 339 | if (options.stackTraceOverride && options.stackTraceOverride.length > 0) { |
| 340 | return options.stackTraceOverride; |
| 341 | } |
| 342 | const shouldTrace = options.stackTrace ?? false; |
| 343 | return shouldTrace ? captureStackTrace(options.traceFromFunction ?? node.addMetadata) : undefined; |
| 344 | } |
| 345 | |
| 346 | if (!this._metadata) { |
| 347 | this._metadata = []; |
nothing calls this directly
no test coverage detected