[rubberstamper] Use rubberstamper for fuchsia
Add the fuchsia & turquoise-internal hosts to the list of hosts using
rubberstamper behaviors.
Bug: b/185545271
Change-Id: I2619aff9992462991710863e7ccafa959df228db
diff --git a/src/main/resources/static/chromium-behavior.js b/src/main/resources/static/chromium-behavior.js
index 0532a91..f955c72 100644
--- a/src/main/resources/static/chromium-behavior.js
+++ b/src/main/resources/static/chromium-behavior.js
@@ -23,7 +23,13 @@
chopsBanner.register(el);
});
- const rubberStamperHosts = ['chromium', 'chrome-internal', 'skia'];
+ const rubberStamperHosts = [
+ 'chromium',
+ 'chrome-internal',
+ 'fuchsia',
+ 'skia',
+ 'turquoise-internal'
+ ];
plugin.getServerInfo().then((config) => {
let onConfirmRevert, onRevert, onPostRevert;
if (rubberStamperHosts.includes(config.gerrit.instance_id)) {