commit | b7737fb80802e5fd73cec4bc98fc24185cf69e8a | [log] [tgz] |
---|---|---|
author | dpapad <dpapad@chromium.org> | Fri Mar 21 22:18:32 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 21 22:18:32 2025 |
tree | cd2205d66d8d2438652fb06658ff7fcec2611165 | |
parent | 2bd0981ee62415c39dfe7048287d4899b2fb4e33 [diff] |
WebUI: Ensure tools/codemods/jscodeshift.py does not swallow errors. Passing '--fail-on-error' is necessary for the script to return a non-zero error code when errors happen, see [1]. Also adding '--no-babel' since it seems unnecessary and makes any error stack traces more complicated. [1] https://github.com/facebook/jscodeshift?tab=readme-ov-file#usage-cli Bug: 389737066 Change-Id: I4883e7c11c0c4b0a8ca1ce93b681ff4f2c496ae6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6383797 Reviewed-by: Rebekah Potter <rbpotter@chromium.org> Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org> Auto-Submit: Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/main@{#1436320}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.