We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d49744f commit 70b3a4dCopy full SHA for 70b3a4d
tasks/e2e-simple.sh
@@ -88,6 +88,19 @@ set -x
88
cd ..
89
root_path=$PWD
90
91
+# Make sure we don't introduce accidental references to PATENTS.
92
+EXPECTED='packages/react-error-overlay/fixtures/bundle.mjs
93
+packages/react-error-overlay/fixtures/bundle.mjs.map
94
+packages/react-error-overlay/fixtures/bundle_u.mjs
95
+packages/react-error-overlay/fixtures/bundle_u.mjs.map
96
+tasks/e2e-simple.sh'
97
+ACTUAL=$(git grep -l PATENTS)
98
+if [ "$EXPECTED" != "$ACTUAL" ]; then
99
+ echo "PATENTS crept into some new files?"
100
+ diff -u <(echo "$EXPECTED") <(echo "$ACTUAL") || true
101
+ exit 1
102
+fi
103
+
104
# Clear cache to avoid issues with incorrect packages being used
105
if hash yarnpkg 2>/dev/null
106
then
0 commit comments