fix(native): format runtime convention guard

This commit is contained in:
morluto
2026-10-10 21:50:55 +08:00
parent a929c9f714
commit 2d426c924c
+1 -2
View File
@@ -26,8 +26,7 @@ export const nativeRuntimeConvention = (
): NativeRuntimeConvention | null => {
for (const segment of path.split("/")) {
const folded = foldSegment(segment);
if (REACT_NATIVE_SEGMENTS.has(folded))
return "react-native";
if (REACT_NATIVE_SEGMENTS.has(folded)) return "react-native";
if (FLUTTER_SEGMENTS.has(folded)) return "flutter";
if (UNITY_SEGMENTS.has(folded)) return "unity";
}