Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

fix(native): format runtime convention guard

morluto2d426c924c53
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";
}