diff --git a/scripts/circleci/check_license.sh b/scripts/circleci/check_license.sh index 68b41d6ac4..4aab08dfbe 100755 --- a/scripts/circleci/check_license.sh +++ b/scripts/circleci/check_license.sh @@ -2,12 +2,4 @@ set -e -# Make sure we don't introduce accidental references to PATENTS. -EXPECTED='scripts/circleci/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 +# This doesn't make sense on the old majors branch. diff --git a/scripts/circleci/check_modules.sh b/scripts/circleci/check_modules.sh index b9ee63b6ee..839671e62c 100755 --- a/scripts/circleci/check_modules.sh +++ b/scripts/circleci/check_modules.sh @@ -2,16 +2,4 @@ set -e -# Make sure we don't introduce accidental @providesModule annotations. -EXPECTED='scripts/rollup/wrappers.js' -ACTUAL=$(git grep -l @providesModule -- './*.js' ':!scripts/rollup/shims/*.js') - -# Colors -red=$'\e[1;31m' -end=$'\e[0m' - -if [ "$EXPECTED" != "$ACTUAL" ]; then - printf "%s\n" "${red}ERROR: @providesModule crept into some new files?${end}" - diff -u <(echo "$EXPECTED") <(echo "$ACTUAL") || true - exit 1 -fi +# This doesn't make sense for old builds.