We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fbfae3 commit 3495eaaCopy full SHA for 3495eaa
lib/code_climate/test_reporter/formatter.rb
@@ -36,6 +36,13 @@ def format(result)
36
false
37
end
38
39
+ # actually private ...
40
+ def short_filename(filename)
41
+ return filename unless ::SimpleCov.root
42
+ filename = filename.gsub(::SimpleCov.root, '.').gsub(/^\.\//, '')
43
+ apply_prefix filename
44
+ end
45
+
46
private
47
48
def partial?
@@ -83,12 +90,6 @@ def to_payload(result)
83
90
}
84
91
85
92
86
- def short_filename(filename)
87
- return filename unless ::SimpleCov.root
88
- filename = filename.gsub(::SimpleCov.root, '.').gsub(/^\.\//, '')
89
- apply_prefix filename
- end
-
93
def tddium?
94
ci_service_data && ci_service_data[:name] == "tddium"
95
0 commit comments