From 7e7c44b4f5c484105559690b1efccd84839bc640 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 28 Nov 2022 10:12:56 -0500 Subject: feat: file paths are only remapped if the result exists --- doc/config.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/config.rst b/doc/config.rst index b387deb5..90949506 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -344,7 +344,9 @@ combined with data for "c:\\myproj\\src\\module.py", and will be reported against the source file found at "src/module.py". If you specify more than one list of paths, they will be considered in order. -The first list that has a match will be used. +A file path will only be remapped if the result exists. If a path matches a +list, but the result doesn't exist, the next list will be tried. The first +list that has an existing result will be used. Remapping will also be done during reporting, but only within the single data file being reported. Combining multiple files requires the ``combine`` -- cgit v1.2.1