From 5f77a9c2b685e98f007c25b520b7b59692bb3034 Mon Sep 17 00:00:00 2001 From: Felix Exner Date: Wed, 18 Sep 2024 13:11:38 +0200 Subject: [PATCH] Fix click.error -> click.echo --- src/robot_folders/commands/clean.py | 2 +- src/robot_folders/commands/make.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/robot_folders/commands/clean.py b/src/robot_folders/commands/clean.py index 3010cf4..268caa4 100644 --- a/src/robot_folders/commands/clean.py +++ b/src/robot_folders/commands/clean.py @@ -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)) diff --git a/src/robot_folders/commands/make.py b/src/robot_folders/commands/make.py index 9d30d60..bcc6285 100644 --- a/src/robot_folders/commands/make.py +++ b/src/robot_folders/commands/make.py @@ -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))