Skip to content

Commit fa0d09b

Browse files
Prevent type mismatch exception thrown in Gradle 7 (#1396)
1 parent 964721d commit fa0d09b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/platform-android/native_modules.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class ReactNativeModules {
128128
* @param generatedFileContentsTemplate
129129
*/
130130
void generatePackagesFile(File outputDir, String generatedFileName, String generatedFileContentsTemplate) {
131-
ArrayList<HashMap<String, String>>[] packages = this.reactNativeModules
131+
ArrayList<HashMap<String, String>> packages = this.reactNativeModules
132132
String packageName = this.packageName
133133

134134
String packageImports = ""

0 commit comments

Comments
 (0)