summaryrefslogtreecommitdiff
path: root/coverage/files.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/files.py')
-rw-r--r--coverage/files.py4
1 files changed, 4 insertions, 0 deletions
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}, " +