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
- Branch
- notext
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 4964 Build 4982: [Placeholder Plan] Wait for 30 Seconds
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.