You've already forked AstralRinth
forked from didirus/AstralRinth
Fix Clippy lints (#3494)
* chore: fix some Clippy lints * chore(labrinth): more Clippy fixes
This commit is contained in:
committed by
GitHub
parent
365367dd16
commit
e008b657a5
@@ -188,7 +188,7 @@ pub async fn version_create(
|
||||
// Handle project type via file extension prediction
|
||||
let mut project_type = None;
|
||||
for file_part in &legacy_create.file_parts {
|
||||
if let Some(ext) = file_part.split('.').last() {
|
||||
if let Some(ext) = file_part.split('.').next_back() {
|
||||
match ext {
|
||||
"mrpack" | "mrpack-primary" => {
|
||||
project_type = Some("modpack");
|
||||
|
||||
Reference in New Issue
Block a user