diff options
Diffstat (limited to '.pytool')
-rw-r--r-- | .pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py b/.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py index 82db7a5a43..6920580646 100644 --- a/.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py +++ b/.pytool/Plugin/UncrustifyCheck/UncrustifyCheck.py @@ -292,7 +292,12 @@ class UncrustifyCheck(ICiBuildPlugin): f"An error occurred reading git ignore settings. This will prevent Uncrustify from running against the expected set of files.")
# Note: This will potentially be a large list, but at least sorted
- return outstream_buffer.getvalue().strip().splitlines()
+ rel_paths = outstream_buffer.getvalue().strip().splitlines()
+ abs_paths = []
+ for path in rel_paths:
+ abs_paths.append(
+ os.path.normpath(os.path.join(self._abs_workspace_path, path)))
+ return abs_paths
def _get_git_submodule_paths(self) -> List[str]:
"""
|