Skip to content

Commit

Permalink
Pass string paths instead of PosixPath (colcon#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
garyservin authored Sep 10, 2020
1 parent 2b84a33 commit 106860f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colcon_cmake/task/cmake/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ async def test(self, *, additional_hooks=None): # noqa: D102

dst = Path(args.test_result_base) / 'Testing' / latest_xml_dir
dst.mkdir(parents=True, exist_ok=True)
_copy_file(tag_file, str(dst.parent / tag_file.name))
_copy_file(latest_xml_path, str(dst / latest_xml_path.name))
_copy_file(str(tag_file), str(dst.parent / tag_file.name))
_copy_file(str(latest_xml_path), str(dst / latest_xml_path.name))

def _get_configuration_from_cmake(self, build_base):
# get for CMake build type from the CMake cache
Expand Down

0 comments on commit 106860f

Please sign in to comment.