MCPcopy
hub / github.com/mafintosh/why-is-node-running / formatLocation

Function formatLocation

index.js:87–90  ·  view source on GitHub ↗
(stack)

Source from the content-addressed store, hash-verified

85}
86
87function formatLocation (stack) {
88 const filePath = formatFilePath(stack.fileName)
89 return `${filePath}:${stack.lineNumber}`
90}
91
92function formatFilePath (filePath) {
93 const absolutePath = normalizeFilePath(filePath)

Callers 1

printStacksFunction · 0.85

Calls 1

formatFilePathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…