mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-18 01:17:36 +08:00
style: cargo fmt 修复 CI 格式检查
This commit is contained in:
@@ -287,7 +287,13 @@ fn build_enhanced_path() -> String {
|
||||
.collect();
|
||||
dirs.sort_by(|a, b| b.file_name().cmp(&a.file_name()));
|
||||
for entry in dirs {
|
||||
extra.push(entry.path().join("installation/bin").to_string_lossy().to_string());
|
||||
extra.push(
|
||||
entry
|
||||
.path()
|
||||
.join("installation/bin")
|
||||
.to_string_lossy()
|
||||
.to_string(),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -353,7 +359,13 @@ fn build_enhanced_path() -> String {
|
||||
.collect();
|
||||
dirs.sort_by(|a, b| b.file_name().cmp(&a.file_name()));
|
||||
for entry in dirs {
|
||||
extra.push(entry.path().join("installation/bin").to_string_lossy().to_string());
|
||||
extra.push(
|
||||
entry
|
||||
.path()
|
||||
.join("installation/bin")
|
||||
.to_string_lossy()
|
||||
.to_string(),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user