()
| 307 | |
| 308 | const node = this; |
| 309 | function getTrace() { |
| 310 | if (options.stackTraceOverride && options.stackTraceOverride.length > 0) { |
| 311 | return options.stackTraceOverride; |
| 312 | } |
| 313 | const shouldTrace = options.stackTrace ?? false; |
| 314 | return shouldTrace ? captureStackTrace(options.traceFromFunction ?? node.addMetadata) : undefined; |
| 315 | } |
| 316 | |
| 317 | if (!this._metadata) { |
| 318 | this._metadata = []; |
nothing calls this directly
no test coverage detected