(fileName, sourceFile, position)
| 265 | } |
| 266 | |
| 267 | function getLineText(fileName, sourceFile, position) { |
| 268 | const { line } = sourceFile.getLineAndCharacterOfPosition(position) |
| 269 | return getFileText(fileName)?.split(/\r?\n/)[line]?.trim() ?? '' |
| 270 | } |
| 271 | |
| 272 | function formatLocation(sourceFile, position) { |
| 273 | const { line, character } = sourceFile.getLineAndCharacterOfPosition(position) |
no test coverage detected