Skip to content

Commit

Permalink
Linters
Browse files Browse the repository at this point in the history
  • Loading branch information
MaeIsBad committed Mar 8, 2024
1 parent 6adeba3 commit 51497fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use localauth0::{controller, APP_NAME};
static LOGGER_GUARD: GuardLoggerCell = GuardLoggerCell::new();

fn main() -> Result<(), Box<dyn Error>> {
match std::env::args().skip(1).next().as_deref() {
match std::env::args().nth(1).as_deref() {
Some("healthcheck") => Ok(healthcheck()?),
_ => Ok(server()?),
}
Expand Down

0 comments on commit 51497fc

Please sign in to comment.