We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e467288 + 441c712 commit f0b196eCopy full SHA for f0b196e
swift_code_metrics/_parser.py
@@ -125,7 +125,7 @@ def parse(self) -> List['SwiftFile']:
125
value.append(extracted_value)
126
continue
127
128
- subdir = self.file.replace(self.base_path, '')
+ subdir = self.file.replace(self.base_path, '', 1)
129
first_subpath = self.__extract_first_subpath(subdir)
130
131
framework_names, is_test = self.__extract_overrides(first_subpath) or \
0 commit comments