Ref T5644. Caught one more of these: we run pygmentize even when we know the file won't be highlighted.
Details
Details
Checked that we don't try to shell out to highlight text files.
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Maybe this should be a config duration option so that installs can customize it?
Not sure what you mean, can you clarify?
Comment Actions
Actually maybe this is okay. So I was thinking that an install might want to define additional languages that they don't wish to highlight. But I guess in that case they can just map those file extensions to text.