mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 20:00:41 +08:00
auto approve
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user