Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message-screenshot: Fix commander@12 usage.
Anders Kaseorg7d6c5beb191b
diff --git a/tools/message-screenshot.js b/tools/message-screenshot.jsindex 28ef29ee464..09fa9ed3171 100644--- a/tools/message-screenshot.js+++ b/tools/message-screenshot.js@@ -4,14 +4,14 @@const path = require("path");-const commander = require("commander");+const {program} = require("commander");require("css.escape");const mkdirp = require("mkdirp");const puppeteer = require("puppeteer");const options = {};-commander+program.arguments("<message_id> <image_path> <realm_uri").action((messageId, imagePath, realmUri) => {options.messageId = messageId;