Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: ymski <[email protected]>
  • Loading branch information
ymski committed Dec 21, 2023
1 parent 4e748db commit cee6291
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ros2caret/verb/check_caret_rclcpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class RclcppCheck():

def __init__(self, root_dir_path: str) -> None:
RclcppCheck._ensure_dir_exist(root_dir_path)
RclcppCheck._validate_ros_distrinution(root_dir_path)
RclcppCheck._validate_ros_distribution(root_dir_path)

get_package_name = RclcppCheck._create_get_package_name(root_dir_path)
ros_obj_paths = RclcppCheck._get_obj_paths(root_dir_path)
Expand Down Expand Up @@ -173,7 +173,7 @@ def _ensure_dir_exist(path: str):
exit(1)

@staticmethod
def _validate_ros_distrinution(path: str):
def _validate_ros_distribution(path: str):
if os.environ['ROS_DISTRO'][0] < 'i':
return
logger.info('If you are using a ROS distribution after iron, ' \
Expand Down

0 comments on commit cee6291

Please sign in to comment.