@samitouri / QOS-React-2 / commits / 42b330c1c9

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.

Andrew Clark committed Jun 8, 2022 at 13:07 UTC 42b330c1c9bf71ca512c56c204bca36bdd53b3c6
1 file changed +1 -1
.circleci/config.yml
+1 -1
@@ -329,7 +329,7 @@ jobs:
329 name: Search build artifacts for unminified errors
330 command: |
331 yarn extract-errors
332 - git diff || (echo "Found unminified errors. Either update the error codes map or disable error minification for the affected build, if appropriate." && false)
332 + git diff --quiet || (echo "Found unminified errors. Either update the error codes map or disable error minification for the affected build, if appropriate." && false)
333
334 yarn_test:
335 docker: *docker