RN [fix]: update template location in align-package-versions.js script

Summary: Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D44218613

fbshipit-source-id: 505962b500821252679084a44e7d92e52c6fbf49
This commit is contained in:
Ruslan Lesiutin 2023-03-20 15:41:42 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 7b916be03f
Коммит 9b6aaa731d
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -15,7 +15,10 @@ const checkForGitChanges = require('./check-for-git-changes');
const forEachPackage = require('./for-each-package');
const ROOT_LOCATION = path.join(__dirname, '..', '..');
const TEMPLATE_LOCATION = path.join(ROOT_LOCATION, 'template');
const TEMPLATE_LOCATION = path.join(
ROOT_LOCATION,
'packages/react-native/template',
);
const readJSONFile = pathToFile => JSON.parse(readFileSync(pathToFile));