commit | 014b637f13ab559d9949f30828dbe39fbc3f4637 | [log] [tgz] |
---|---|---|
author | Gavin Mak <gavinmak@google.com> | Fri Aug 06 21:47:49 2021 |
committer | Gavin Mak <gavinmak@google.com> | Fri Aug 06 21:48:34 2021 |
tree | 050326eec0b7bae0107a06c1062ee98b1b49fabf | |
parent | 9261fcf6bf1e243af8c7e3a9729760937f4a4238 [diff] |
Handle cases where getChangeLabel.all is undefined Currently, alertOnSelfApproval throws a "TypeError: Cannot read property 'some' of undefined" when getChangeLabel doesn't have an "all" field. Bug: 1236687 Change-Id: I5326a2a04595dd518aa5a3fd94ccf3d9ff15ffc0
$ npm run wct-test
Make sure the plugin is installed in plugins/ of Gerrit repository.
$ cd ../.. # Gerrit root directory $ bazel build plugins/chromium-behavior:chromium-behavior $ cp -f bazel-bin/plugins/chromium-behavior/chromium-behavior-bundle.js plugins/ $ cd plugins/chromium-behavior $ run-with-prod-data.sh