Skip to content

Commit

Permalink
F - Extend list of known text file extensions
Browse files Browse the repository at this point in the history
Adds built-in support for:
- JSON Lines
- YAML
- Asciidoc
  • Loading branch information
frederikb authored and isidore committed Oct 12, 2023
1 parent 813522a commit 37e24b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class GenericDiffReporter implements ApprovalFailureReporter
protected String diffProgramNotFoundMessage;
private List<String> validExtensions;
public static List<String> TEXT_FILE_EXTENSIONS = Arrays.asList(".txt", ".csv", ".htm", ".html", ".xml", ".eml",
".java", ".css", ".js", ".json", ".md");
".java", ".css", ".js", ".json", ".md", ".jsonl", ".yaml", ".yml", ".adoc", ".asciidoc");
public static List<String> IMAGE_FILE_EXTENSIONS = Arrays.asList(".png", ".gif", ".jpg", ".jpeg", ".bmp", ".tif",
".tiff");
public GenericDiffReporter(String diffProgram)
Expand Down

0 comments on commit 37e24b7

Please sign in to comment.