Skip to content

Commit

Permalink
Fix silly error in the CLI frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed Dec 19, 2023
1 parent fc85890 commit 687fd5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/cli/source/cli_frontend.d
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions source/utils.d
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ private struct Delegate(alias U)
}
alias expand = internalExpand.expand;
alias expand this;
// alias opCall = internalExpand.expand;
}

pragma(inline, true)
Expand Down

0 comments on commit 687fd5b

Please sign in to comment.