Skip to content

Commit 3c06b92

Browse files
committed
Assume .bin files are binary
1 parent 11f4468 commit 3c06b92

File tree

1 file changed

+1
-1
lines changed
  • tmc-langs-framework/src/main/java/fi/helsinki/cs/tmc/langs/domain

1 file changed

+1
-1
lines changed

tmc-langs-framework/src/main/java/fi/helsinki/cs/tmc/langs/domain/Filer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class Filer {
2121
private Path toPath;
2222

2323
private static final Pattern NON_TEXT_TYPES =
24-
Pattern.compile("class|jar|exe|jpg|jpeg|gif|png|zip|tar|gz|db");
24+
Pattern.compile("class|jar|exe|jpg|jpeg|gif|png|zip|tar|gz|db|bin");
2525
private static final Pattern FILES_TO_SKIP_ALLWAYS =
2626
Pattern.compile("\\.tmcrc|metadata\\.yml|(.*)Hidden(.*)");
2727

0 commit comments

Comments
 (0)