ashb commented on code in PR #73836:
URL: https://github.com/apache/airflow/pull/73836#discussion_r4126121243


##########
dev/breeze/src/airflow_breeze/commands/developer_commands.py:
##########
@@ -1159,21 +1154,22 @@ def down(
     all_projects: bool,
     project_name: str | None,
 ):
-    perform_environment_checks()
-    brought_down, skipped = bring_all_compose_projects_down(
+    if all_projects and project_name:
+        raise click.UsageError("--all-projects and --project-name cannot be 
used together.")
+    perform_environment_checks(cleanup_stale_worktrees=False)
+    brought_down = bring_compose_projects_down(

Review Comment:
   How about "all if run from the main checkout, but worktree only if run from 
the worktree folder"? That might be too much magic though.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to