From 567842250484c878ab80bd38de56ef641c8e1012 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Tue, 17 Oct 2023 02:33:19 -0700 Subject: [PATCH] Gitignore RCTLegacyInteropComponents.mm as it is generated by Xcode (#41010) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41010 ## Changelog [Internal] - Gitignore RCTLegacyInteropComponents.mm as it is generated by Xcode Reviewed By: dmytrorykun Differential Revision: D50323800 fbshipit-source-id: 63fdb82a97ff3c4d94d341555a0a3dcce8226a96 --- .gitignore | 1 + .../scripts/codegen/generate-legacy-interop-components.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c97e1f732d7..32bac8aafd3 100644 --- a/.gitignore +++ b/.gitignore @@ -115,6 +115,7 @@ package-lock.json /packages/react-native/template/ios/Pods/ /packages/react-native/template/ios/Podfile.lock /packages/rn-tester/Gemfile.lock +/packages/**/RCTLegacyInteropComponents.mm # Ignore RNTester specific Pods, but keep the __offline_mirrors__ here. /packages/rn-tester/Pods/* diff --git a/packages/react-native/scripts/codegen/generate-legacy-interop-components.js b/packages/react-native/scripts/codegen/generate-legacy-interop-components.js index 49ac074c916..120773e03ed 100644 --- a/packages/react-native/scripts/codegen/generate-legacy-interop-components.js +++ b/packages/react-native/scripts/codegen/generate-legacy-interop-components.js @@ -35,8 +35,7 @@ const outputPath = argv.outputPath; function fileBody(components) { // eslint-disable duplicate-license-header - return ` -/* + return `/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the