/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflow-scripts/analyze_scripts.sh
26 строк
644 B
Alex Hunt
Drop outdated links to wiki (#57898)
7 часов назад
7 часов назад
93f1e6a
Код
Авторство
О чём код?
#!/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. GITHUB_OWNER=-facebook GITHUB_REPO=-react-native export GITHUB_OWNER export GITHUB_REPO if [ -x "$(command -v shellcheck)" ]; then IFS=$'\n' find . \ -type f \ -not -path "*node_modules*" \ -not -path "*third-party*" \ -not -path "*vendor*" \ -name '*.sh' \ -exec sh -c 'shellcheck "$1"' -- {} \; else echo 'shellcheck is not installed. Install it via your package manager, e.g. `brew install shellcheck`.' exit 1 fi