Skip to content

Commit 845ba0a

Browse files
committed
fix: bug fix on install for main --help
1 parent acadda0 commit 845ba0a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

appwrite_lab/_orchestrator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ def deploy_playwright_automation(
261261
self.util,
262262
"run",
263263
"--network",
264+
"--rm",
264265
"host",
265266
"-v",
266267
f"{temp_dir}:/playwright",

appwrite_lab/_state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, path: str | None = None):
2424
if not os.path.exists(self.path):
2525
try:
2626
with open(self.path, "w") as f:
27-
pass
27+
f.write("{}")
2828
except Exception as e:
2929
raise StateError(f"Failed to create state file: {e}")
3030
else:

appwrite_lab/cli/entry.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import typer
2-
import typer.rich_utils
3-
from appwrite_lab._state import State
4-
from appwrite_lab.utils import print_table, set_cli_true
2+
from appwrite_lab.utils import set_cli_true
53
from appwrite_lab import get_global_labs
64

75
from .new_menu import new_menu

0 commit comments

Comments
 (0)