Для этого сайта требуется поддержка JavaScript.
Обзор
Помощь
Регистрация
Вход
microsoft
/
react-native-macos
зеркало из
https://github.com/microsoft/react-native-macos.git
Следить
1
В избранное
0
Форкнуть
Вы уже форкнули react-native-macos
0
Код
Задачи
Пакеты
Проекты
Релизы
Вики
Активность
8d5f8804d8
react-native-macos
/
template
/
_watchmanconfig
2 строки
3 B
Plaintext
Исходник
Обычный вид
История
Убрать экранирование
Экранировать
Fix whitespace and newline at EOF (#35939) Summary: Just a couple of minor fixes in the `template/` folder: - Remove a trailing space in `rn_edit_text_material.xml` (this was the _only_ trailing space present in a newly generated RN project), which results in the check against the empty tree object failing: ``` $ git diff --check 4b825dc -- template/ template/android/app/src/main/res/drawable/rn_edit_text_material.xml:23: trailing whitespace. + <!-- ``` - Add missing newline at end of file in `.watchmanconfig` and `app.json` - Both are text files, and each line (including the last) is expected to end with a newline character (flagged by Git, and also visible as a warning on GitHub): <img width="369" alt="image" src="https://user-images.githubusercontent.com/743291/214195867-81c8e622-2130-44d4-bdaf-588e3510c109.png"> ## Changelog [GENERAL] [FIXED] - Fix whitespace and newline at EOF in template Pull Request resolved: https://github.com/facebook/react-native/pull/35939 Reviewed By: christophpurrer Differential Revision: D42698256 Pulled By: rshest fbshipit-source-id: 765fd41d4f501aec578755c754ea0ecb290ae6ca
2023-01-24 14:00:08 +03:00
{}