aboutcode-org / aboutcode-org/scancode-toolkit

numbered_text_lines in textcode.analysis should return the complete map file

Aperta
#3,335 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.