aboutcode-org / aboutcode-org/scancode-toolkit
numbered_text_lines in textcode.analysis should return the complete map file
Aperta
- Lingua principale
- Python
- Stelle
- 2.6k
- Fork
- 791
- Merge medio
- 1g 12h
- PR unite (30g)
- 5
Descrizione
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"))
[]
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.