Skip to content

[ros2_cmake] fix status print to match commands invoked#85

Merged
jacobperron merged 1 commit intoros2:masterfrom
mikaelarguedas:fix_status_message
Mar 4, 2019
Merged

[ros2_cmake] fix status print to match commands invoked#85
jacobperron merged 1 commit intoros2:masterfrom
mikaelarguedas:fix_status_message

Conversation

@mikaelarguedas
Copy link
Copy Markdown
Member

The status message printed for create_key does not match the command actually ran (additional ${policy} argument making the command fail with ros2: error: unrecognized arguments: foo.xml.)

This PR uses the same string for the command and the message to avoid discrepancies in the future


The style of this file doesn't seem to match the ROS 2 style guide for CMake. @mjcarroll @ross-desmond could we add linters to this package?

Signed-off-by: Mikael Arguedas <mikael.arguedas@gmail.com>
@mikaelarguedas mikaelarguedas added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Feb 22, 2019
@jacobperron jacobperron self-requested a review March 4, 2019 19:27
Copy link
Copy Markdown
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

+1 for adding linters.

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@jacobperron jacobperron merged commit 681dd34 into ros2:master Mar 4, 2019
@jacobperron jacobperron removed the in review Waiting for review (Kanban column) label Mar 4, 2019
@jacobperron
Copy link
Copy Markdown
Member

Added lint test in #90.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants