diff --git a/tools/message-screenshot.js b/tools/message-screenshot.js index 28ef29ee46..09fa9ed317 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(" { options.messageId = messageId;