Skip to content

Commit 268d369

Browse files
committed
Don't show R test files
1 parent 37a0a14 commit 268d369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/source_file_list.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def self.source_file?(file)
130130
name.end_with?('.hpp') ||
131131
name.end_with?('.h') ||
132132
name.end_with?('.rb') ||
133-
name.end_with?('.R') ||
133+
(dir.include?('/R') && name.end_with?('.R')) ||
134134
(dir.include?('/src') && name.end_with?('.py')) ||
135135
dir.include?('/WEB-INF')
136136
end

0 commit comments

Comments
 (0)