Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

mdiff: Add missing exit for --help.

Anders Kaseorgda749d1c9476
diff --git a/web/tests/lib/mdiff.js b/web/tests/lib/mdiff.js
index 46ab8385b34..4159c24fa39 100644
--- a/web/tests/lib/mdiff.js
+++ b/web/tests/lib/mdiff.js
@@ -141,6 +141,7 @@ if (require.main === module) {
"\n" +
"Where string_0 and string_1 are the strings to be diffed",
);
+ process.exit(0);
}
const output = diff_strings(argv._[0], argv._[1]);