style: 修正 feature_flags 反序列化处的 rustfmt 格式,修复 release preflight 失败
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
Starlight release / Release preflight (push) Has been cancelled
Prepare pnpm cache / prepare (push) Has been cancelled
Starlight release / Build (Windows x64) (push) Has been cancelled
Starlight release / Build (Linux arm64) (push) Has been cancelled
Starlight release / Build (Linux x64) (push) Has been cancelled
Starlight release / Build (macOS universal) (push) Has been cancelled
Starlight release / Verify and publish (push) Has been cancelled

This commit is contained in:
AxTps committed 2026-10-02 20:47:19 +08:00
1 parent 4b9b9ebf47
commit d2c32ed14f
1 file changed
+3 -3
+3 -3
View File
@@ -251,9 +251,9 @@ fn filter_known_feature_flags(
) -> HashMap<FeatureFlag, bool> {
let mut flags = HashMap::with_capacity(raw.len());
for (key, value) in raw {
if let Ok(flag) =
serde_json::from_value::<FeatureFlag>(serde_json::Value::String(key))
{
if let Ok(flag) = serde_json::from_value::<FeatureFlag>(
serde_json::Value::String(key),
) {
flags.insert(flag, value);
}
}