mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
dbbec3452f
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42814 Improves the type safety of the feature flags generation and verification script. Changelog: [internal] Reviewed By: huntie Differential Revision: D53351484 fbshipit-source-id: a71af1bb428cdec327d557de4d54bee9ece57f34
15 lines
417 B
JavaScript
15 lines
417 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
if (require.main === module) {
|
|
require('../../../../scripts/build/babel-register').registerForMonorepo();
|
|
const update = require('./update').default;
|
|
update(process.argv.includes('--verify-unchanged'));
|
|
}
|