Skip to content

Commit 9160b4f

Browse files
committed
error fix
1 parent 557417a commit 9160b4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manager/manager/lint/linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def evaluate_code(self, code, ros_version, warnings=False, py_lint_source="pylin
7070
loop_match = re.search(loop_regex, code)
7171

7272
if loop_match is None:
73-
return "ERROR: No event loop found. Add 'while True:', 'rclpy.spin(node)', or 'rclpy.spin_once(node)' or use 'rclpy.Rate()'"
73+
return "ERROR: No event loop found. Add 'while True:', 'rclpy.spin(node)', or 'rclpy.spin_once(node)' or use 'Rate'"
7474

7575
if "rclpy.spin" in loop_match.group() or "rclpy.spin_once" in loop_match.group() or ".create_rate" in loop_match.group():
7676
# Keep the code as-is; don't modify it

0 commit comments

Comments
 (0)