lib/codacy/parser.rb in codacy-coverage-1.0.0 vs lib/codacy/parser.rb in codacy-coverage-1.1.0
- old
+ new
@@ -1,10 +1,10 @@
module Codacy
module Parser
def self.parse_file(simplecov_result)
- project_dir = Codacy::Git.git_dir
+ project_dir = Codacy::Git.work_dir
logger.info("Parsing simplecov result to Codacy format...")
logger.debug(simplecov_result.original_result)
file_reports = simplecov_result.original_result.map do |k, v|
@@ -34,6 +34,6 @@
def self.logger
Codacy::Configuration.logger
end
end
-end
\ No newline at end of file
+end