Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
eslint: Fix unicorn/no-unreadable-object-destructuring.
Anders Kaseorg455e7654b2d7
diff --git a/web/tests/lib/mdiff.cjs b/web/tests/lib/mdiff.cjsindex b3ab8d25c47..f61cd67134e 100644--- a/web/tests/lib/mdiff.cjs+++ b/web/tests/lib/mdiff.cjs@@ -131,8 +131,9 @@ if (require.main === module) {"Usage: mdiff <string_0> <string_1>\nWhere <string_0> and <string_1> are the strings to be diffed";const {values: {help},- positionals: [string_0, string_1],+ positionals,} = parseArgs({options: {help: {type: "boolean"}}, allowPositionals: true});+ const [string_0, string_1] = positionals;if (help) {console.log(usage);