Skip to content

Commit

Permalink
Fix services context manager
Browse files Browse the repository at this point in the history
  • Loading branch information
davegaeddert committed Jun 12, 2024
1 parent 3483e98 commit 69f1b14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bolt-dev/bolt/dev/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def __init__(self):
self.manager = HonchoManager()

def __enter__(self):
if Pid.exists():
click.secho("Services already running in `bolt dev` command", yellow=True)
if Pid().exists():
click.secho("Services already running in `bolt dev` command", fg="yellow")
return

services = self.get_services(APP_PATH.parent)
Expand Down

0 comments on commit 69f1b14

Please sign in to comment.