auto approve

This commit is contained in:
mrT23
2024-02-13 11:21:59 +02:00
parent d0958022a0
commit 2f327c26e8
2 changed files with 3 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class PRAgent:
for forbidden_arg in self.forbidden_cli_args:
for arg in args:
if forbidden_arg in arg:
get_logger().error(f"CLI argument '{forbidden_arg}' is forbidden")
get_logger().error(f"CLI argument for param '{forbidden_arg}' is forbidden. Use instead a configuration file.")
return False
args = update_settings_from_args(args)