From 687fd5b12520ab8094849d5c77837b0e89cb01e1 Mon Sep 17 00:00:00 2001 From: Dadoum Date: Wed, 20 Dec 2023 00:39:04 +0100 Subject: [PATCH] Fix silly error in the CLI frontend --- frontends/cli/source/cli_frontend.d | 2 +- source/utils.d | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontends/cli/source/cli_frontend.d b/frontends/cli/source/cli_frontend.d index 6533fb9..2597ab9 100644 --- a/frontends/cli/source/cli_frontend.d +++ b/frontends/cli/source/cli_frontend.d @@ -130,7 +130,7 @@ DeveloperSession login(Device device, ADI adi, bool interactive) { sendCode(); continue; } - } while (submitCode(code).match!((Success _) => true, (ReloginNeeded _) => true, (AppleLoginError _) => false)); + } while (submitCode(code).match!((Success _) => false, (ReloginNeeded _) => false, (AppleLoginError _) => true)); }) .match!( (DeveloperSession session) => session, diff --git a/source/utils.d b/source/utils.d index 2f0038c..185c6d8 100644 --- a/source/utils.d +++ b/source/utils.d @@ -48,6 +48,7 @@ private struct Delegate(alias U) } alias expand = internalExpand.expand; alias expand this; + // alias opCall = internalExpand.expand; } pragma(inline, true)