/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
.github/workflow-scripts/analyze_code.sh
24 строки
567 B
Mateo Guzmán
Remove lint-java (#52092)
18 июн 2025, 18:22
18 июн 2025, 18:22
ccc8ce0
Код
Авторство
О чём код?
#!/bin/bash # 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. export GITHUB_OWNER=-facebook export GITHUB_REPO=-react-native { echo eslint npm run lint --silent -- --format=json echo flow npm run flow-check --silent --json } | node private/react-native-bots/code-analysis-bot.js STATUS=$? if [ $STATUS == 0 ]; then echo "Code analyzed successfully." else echo "Code analysis failed, error status $STATUS." fi exit $STATUS