From 51497fcd4b40526a9cc303734743ca79f0697d05 Mon Sep 17 00:00:00 2001 From: "mae.kasza" <26093674+MaeIsBad@users.noreply.github.com> Date: Fri, 8 Mar 2024 13:59:29 +0100 Subject: [PATCH] Linters --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0a91c3e..b0bf5b8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,7 +18,7 @@ use localauth0::{controller, APP_NAME}; static LOGGER_GUARD: GuardLoggerCell = GuardLoggerCell::new(); fn main() -> Result<(), Box> { - match std::env::args().skip(1).next().as_deref() { + match std::env::args().nth(1).as_deref() { Some("healthcheck") => Ok(healthcheck()?), _ => Ok(server()?), }