mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix check_error_codes CI job (#24692)
The diff command was missing a --quiet argument, causing the job not to fail when unminified messages were found.
This commit is contained in:
@@ -329,7 +329,7 @@ jobs:
|
||||
name: Search build artifacts for unminified errors
|
||||
command: |
|
||||
yarn extract-errors
|
||||
git diff || (echo "Found unminified errors. Either update the error codes map or disable error minification for the affected build, if appropriate." && false)
|
||||
git diff --quiet || (echo "Found unminified errors. Either update the error codes map or disable error minification for the affected build, if appropriate." && false)
|
||||
|
||||
yarn_test:
|
||||
docker: *docker
|
||||
|
||||
Reference in New Issue
Block a user