Skip to content

Commit

Permalink
Fix click.error -> click.echo
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauch committed Sep 18, 2024
1 parent ff6cea9 commit 5f77a9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/robot_folders/commands/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_command(self, ctx, name):
elif name == "colcon":
return clean.ColconCleaner(name=name, add_help_option=False)
elif name == "misc":
click.error("Misc workspaces have to cleaned by hand. Doing nothing")
click.echo("Misc workspaces have to cleaned by hand. Doing nothing")
return None
else:
click.echo("Did not find a workspace with the key < {} >.".format(name))
Expand Down
2 changes: 1 addition & 1 deletion src/robot_folders/commands/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_command(self, ctx, name):
elif name == "colcon":
return build.ColconBuilder(name=name, add_help_option=True)
elif name == "misc":
click.error("Misc workspaces have to built by hand. Doing nothing")
click.echo("Misc workspaces have to built by hand. Doing nothing")
return None
else:
click.echo("Did not find a workspace with the key < {} >.".format(name))
Expand Down

0 comments on commit 5f77a9c

Please sign in to comment.