Exit function after setting confirm submit msg

Bug was probably introduced in https://chromium-review.googlesource.com/c/infra/gerrit-plugins/chumpdetector/+/1111237/

Bug: 932279
Change-Id: I8e6f9ac55fa7e47068e3536fc3b5e54c49090b4f
Reviewed-on: https://chromium-review.googlesource.com/c/infra/gerrit-plugins/chumpdetector/+/1517952
Reviewed-by: Andy Perelson <ajp@chromium.org>
1 file changed
tree: 96274de4043a6fbb3b4a85d71e073a24403551e9
  1. BUCK
  2. BUILD
  3. LICENSE
  4. README.md
  5. codereview.settings
  6. src/
README.md

ChumpDetector Plugin for Gerrit

To use with the local testsite

ln -s /path/to/chumpdetector-plugin plugins/chumpdetector
NO_BUCKD=1 buck build plugins/chumpdetector && \
  cp buck-out/gen/plugins/chumpdetector/chumpdetector.jar ../gerrit_testsite/plugins/ && \
  ../gerrit_testsite/bin/gerrit.sh restart

To use with the polygerrit-ui server against live data

mkdir -p polygerrit-ui/app/plugins/chumpdetector
ln -s /path/to/chumpdetector-plugin/src/main/resources/static polygerrit-ui/app/plugins/chumpdetector/static
./polygerrit-ui/run-server.sh -host chromium-review.googlesource.com

You may also need to edit chumpdetectorURL to point directly at chromium-review.googlesource.com instead of being relative.