Skip to content

Commit

Permalink
Simplify mb executable path.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunns committed Feb 12, 2019
1 parent 810fa8f commit 8ad9b56
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/mbtest/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@
from furl import furl
from more_itertools import flatten

DEFAULT_MB_EXECUTABLE = (
str(Path(".") / "node_modules" / ".bin" / "mb.cmd")
if platform.system() == "Windows"
else str(Path(".") / "node_modules" / ".bin" / "mb")
)
DEFAULT_MB_EXECUTABLE = str(Path("node_modules") / ".bin" / ("mb.cmd" if platform.system() == "Windows" else "mb"))

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 8ad9b56

Please sign in to comment.