lib/codacy/parser.rb in codacy-coverage-0.2.1 vs lib/codacy/parser.rb in codacy-coverage-0.2.2
- old
+ new
@@ -1,9 +1,9 @@
module Codacy
module Parser
def self.parse_file(simplecov_result)
- project_dir = Dir.pwd
+ project_dir = Codacy::Git.git_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|
\ No newline at end of file