Skip to content

Commit c9812be

Browse files
MatthijsBurghar13pit
authored andcommitted
Fix package.xml check
1 parent b8656e2 commit c9812be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tue_get/installer_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ def tue_install_ros(self, source_type: str, **kwargs) -> bool:
11711171

11721172
# Resolve ROS dependencies
11731173
pkg_xml = os.path.join(ros_pkg_dir, PACKAGE_MANIFEST_FILENAME)
1174-
if os.path.isfile(pkg_xml):
1174+
if not os.path.isfile(pkg_xml):
11751175
self.tue_install_warning(f"Does not contain a valid ROS {PACKAGE_MANIFEST_FILENAME}")
11761176
return True
11771177

0 commit comments

Comments
 (0)