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
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 13 additions and 0 deletions
+13 -0
...@@ -88,6 +88,19 @@ set -x ...@@ -88,6 +88,19 @@ set -x
cd .. cd ..
root_path=$PWD 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 # Clear cache to avoid issues with incorrect packages being used
if hash yarnpkg 2>/dev/null if hash yarnpkg 2>/dev/null
then 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