Fix ReadableNativeMap linting warning (#44596)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/44596

Minor fix to get CI running again.

Changelog: [Internal]

Reviewed By: GijsWeterings

Differential Revision: D57454420

fbshipit-source-id: be80fbc8e899ad9aaeafa2cf63fbb6cd4ce32269
This commit is contained in:
Blake Friedman
2024-05-16 14:17:46 -07:00
committed by Facebook GitHub Bot
parent 1aabefc5b3
commit 0c7095faa3
@@ -173,7 +173,6 @@ public open class ReadableNativeMap protected constructor(hybridData: HybridData
ReadableType.String -> {}
ReadableType.Map -> hashMap[key] = Assertions.assertNotNull(getMap(key)).toHashMap()
ReadableType.Array -> hashMap[key] = Assertions.assertNotNull(getArray(key)).toArrayList()
else -> throw IllegalArgumentException("Could not convert object with key: $key.")
}
}
return hashMap