Skip to content

Commit 974676a

Browse files
committed
chore: typo fix and formatting tidyups
1 parent 4a311a6 commit 974676a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/app-lib/src/launcher/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ pub async fn launch_minecraft(
613613
if std::env::var("CARGO").is_ok() {
614614
command.env_remove("DYLD_FALLBACK_LIBRARY_PATH");
615615
}
616-
// Java options should be set in instance options (the existence of _JAVA_OPTIONS overwites them)
616+
// Java options should be set in instance options (the existence of _JAVA_OPTIONS overwrites them)
617617
command.env_remove("_JAVA_OPTIONS");
618618

619619
command.envs(env_args);

packages/app-lib/src/state/minecraft_auth.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use uuid::Uuid;
2424
#[derive(Debug, Clone, Copy)]
2525
pub enum MinecraftAuthStep {
2626
GetDeviceToken,
27-
SisuAuthenicate,
27+
SisuAuthenticate,
2828
GetOAuthToken,
2929
RefreshOAuthToken,
3030
SisuAuthorize,
@@ -646,7 +646,7 @@ async fn sisu_authenticate(
646646
"TitleId": "1794566092",
647647
}),
648648
key,
649-
MinecraftAuthStep::SisuAuthenicate,
649+
MinecraftAuthStep::SisuAuthenticate,
650650
current_date,
651651
)
652652
.await?;
@@ -974,7 +974,7 @@ async fn minecraft_entitlements(
974974
.bearer_auth(token)
975975
.send()
976976
})
977-
.await.map_err(|source| MinecraftAuthenticationError::Request { source, step: MinecraftAuthStep::MinecraftEntitlements })?;
977+
.await.map_err(|source| MinecraftAuthenticationError::Request { source, step: MinecraftAuthStep::MinecraftEntitlements })?;
978978

979979
let status = res.status();
980980
let text = res.text().await.map_err(|source| {

0 commit comments

Comments
 (0)