Skip to content

Commit

Permalink
Merge pull request #10 from matsoftware/issue-n-8
Browse files Browse the repository at this point in the history
Issue#8 Fix in paths analysis
  • Loading branch information
matsoftware committed Mar 14, 2019
2 parents e467288 + 441c712 commit f0b196e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swift_code_metrics/_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def parse(self) -> List['SwiftFile']:
value.append(extracted_value)
continue

subdir = self.file.replace(self.base_path, '')
subdir = self.file.replace(self.base_path, '', 1)
first_subpath = self.__extract_first_subpath(subdir)

framework_names, is_test = self.__extract_overrides(first_subpath) or \
Expand Down

0 comments on commit f0b196e

Please sign in to comment.