From 1a616da57258bb3a1d6a0fbd05adfcb76155c49c Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 6 Nov 2021 17:29:09 -0400 Subject: fix: remapping paths during combining needs to follow relative_files=True. #1147 --- coverage/control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coverage/control.py') diff --git a/coverage/control.py b/coverage/control.py index ae4b14b3..8a832a20 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -706,7 +706,7 @@ class Coverage: aliases = None if self.config.paths: - aliases = PathAliases() + aliases = PathAliases(relative=self.config.relative_files) for paths in self.config.paths.values(): result = paths[0] for pattern in paths[1:]: -- cgit v1.2.1