Skip to content

Commit

Permalink
Fix ReadableNativeMap linting warning (#44596)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #44596

Minor fix to get CI running again.

Changelog: [Internal]

Reviewed By: GijsWeterings

Differential Revision: D57454420

fbshipit-source-id: be80fbc8e899ad9aaeafa2cf63fbb6cd4ce32269
  • Loading branch information
blakef authored and facebook-github-bot committed May 16, 2024
1 parent 1aabefc commit 0c7095f
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c7095f

Please sign in to comment.