Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 980583c

Browse files
committed
Path should be relative to project root
1 parent 65e3fd8 commit 980583c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codacy-coverage.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
1414
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
1515
gem.name = "codacy-coverage"
1616
gem.require_paths = ["lib"]
17-
gem.version = '0.2.1'
17+
gem.version = '0.2.2'
1818

1919
gem.required_ruby_version = '>= 1.9.2'
2020

lib/codacy/parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Codacy
22
module Parser
33

44
def self.parse_file(simplecov_result)
5-
project_dir = Dir.pwd
5+
project_dir = Codacy::Git.git_dir
66

77
logger.info("Parsing simplecov result to Codacy format...")
88
logger.debug(simplecov_result.original_result)

0 commit comments

Comments
 (0)