From d327a70d9b81833c0ce22f2046b1d93892c1e72d Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 23 Dec 2022 14:38:54 -0500 Subject: fix: more information when mapping rules aren't working right. --- coverage/files.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'coverage/files.py') diff --git a/coverage/files.py b/coverage/files.py index 7443f8c9..05c98eec 100644 --- a/coverage/files.py +++ b/coverage/files.py @@ -471,6 +471,10 @@ class PathAliases: if new.startswith(("./", ".\\")) and not dot_start: new = new[2:] if not exists(new): + self.debugfn( + f"Rule {original_pattern!r} changed {path!r} to {new!r} " + + f"which doesn't exist, continuing" + ) continue self.debugfn( f"Matched path {path!r} to rule {original_pattern!r} -> {result!r}, " + -- cgit v1.2.1