Unverified Commit 70b3a4db authored by Dan Abramov's avatar Dan Abramov Committed by GitHub
Browse files

Lint against files with old license (#3361)

* Lint against files with old license

* Update e2e-simple.sh

* Update e2e-simple.sh

* oh no
parent d49744f0
Showing with 13 additions and 0 deletions
+13 -0
......@@ -88,6 +88,19 @@ set -x
cd ..
root_path=$PWD
# Make sure we don't introduce accidental references to PATENTS.
EXPECTED='packages/react-error-overlay/fixtures/bundle.mjs
packages/react-error-overlay/fixtures/bundle.mjs.map
packages/react-error-overlay/fixtures/bundle_u.mjs
packages/react-error-overlay/fixtures/bundle_u.mjs.map
tasks/e2e-simple.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
# Clear cache to avoid issues with incorrect packages being used
if hash yarnpkg 2>/dev/null
then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment