aboutcode-org / aboutcode-org/scancode-toolkit
numbered_text_lines in textcode.analysis should return the complete map file
Open
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 791
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 5
Description
ATM for a map file `number_text_lines` only returns the value in `sourceContent`, instead it should return the entire file content as text.
```python
>>> from textcode.analysis import numbered_text_lines
>>> list(numbered_text_lines("file_with_empty_sourceContent.css.map"))
[]
```
Contributor guide
Assessment
This issue has not been assessed yet.