From 16d7b251d323b0b0764cae768524be967f5170b3 Mon Sep 17 00:00:00 2001 From: Alexandr Burdiyan Date: Thu, 11 Jan 2024 17:10:16 +0100 Subject: [PATCH] Fix env handling in ./dev run-desktop-mainnet command --- dev | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dev b/dev index 17d017cc1..6294fa1e5 100755 --- a/dev +++ b/dev @@ -98,11 +98,9 @@ def main(): run("yarn workspace @mintter/ui generate") run("plz build //backend:mintterd //:yarn") - testnet_var = "MINTTER_P2P_TESTNET_NAME" - if testnet_var not in os.environ: - os.environ[testnet_var] = "dev" + os.environ.pop("MINTTER_P2P_TESTNET_NAME", None) - return run("MINTTER_P2P_TESTNET_NAME='' yarn desktop", args=args) + return run("yarn desktop", args=args) @cmd(cmds, "build-desktop", "Builds the desktop app for the current platform.") def build_desktop(args):