Skip to content

Commit

Permalink
fix: don't reprompt docker when running in sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayka committed Oct 31, 2024
1 parent 762978c commit ef09f05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions marimo/_cli/run_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
def prompt_run_in_docker_container(name: str | None) -> bool:
if GLOBAL_SETTINGS.IN_SECURE_ENVIRONMENT:
return False
if GLOBAL_SETTINGS.MANAGE_SCRIPT_METADATA:
return False

# Only prompt for remote files
if name is None:
Expand Down

0 comments on commit ef09f05

Please sign in to comment.