@samitouri / QOS-React / commits / d235e61dc2

Don't reset error codes on CI build (#11655)

* Don't reset error codes on CI build * Add an explanation

Dan Abramov committed Nov 25, 2017 at 02:23 UTC d235e61dc277397887e7c14403626557424d5300
1 file changed +4 -1
scripts/circleci/build.sh
+4 -1
@@ -3,7 +3,10 @@
3 set -e
4
5 yarn build --extract-errors
6 -git checkout -- scripts/error-codes/codes.json
6 +# Note: since we run the full build including extracting error codes,
7 +# it is important that we *don't* reset the change to `scripts/error-codes/codes.json`.
8 +# When production bundle tests run later, it needs to be available.
9 +# See https://github.com/facebook/react/pull/11655.
10
11 # Do a sanity check on bundles
12 node ./scripts/rollup/validate/index