/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
.github/workflow-scripts/check_license.sh
17 строк
499 B
Riccardo Cipolleschi
Move analisys scripts to .github folder (#49123)
03 фев 2025, 21:02
03 фев 2025, 21:02
ae7175d
Код
Авторство
О чём код?
#!/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. set -e # Make sure we don't introduce accidental references to PATENTS. EXPECTED='.github/workflow-scripts/check_license.sh' ACTUAL=$(git grep -l PATENTS) if [ "$EXPECTED" != "$ACTUAL" ]; then echo "PATENTS crept into some new files?" diff -u <(echo "$EXPECTED") <(echo "$ACTUAL") || true exit 1 fi