From 2d426c924c536cf6d905b992a9e334ee51f3f28f Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Sat, 10 Oct 2026 21:50:55 +0800 Subject: [PATCH] fix(native): format runtime convention guard --- src/domain/nativeConvention.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/domain/nativeConvention.ts b/src/domain/nativeConvention.ts index cc9049adc..8e6d5b624 100644 --- a/src/domain/nativeConvention.ts +++ b/src/domain/nativeConvention.ts @@ -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"; }