js: Indent case clauses in switch statements.

Prettier would do this anyway, but it’s separated out for a more
reviewable diff.  Generated by ESLint.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-14 17:14:03 -07:00
committed by Tim Abbott
parent f3726db89a
commit 6924d501bc
25 changed files with 1385 additions and 1396 deletions

View File

@@ -80,13 +80,13 @@ exports.same_recipient = function util_same_recipient(a, b) {
}
switch (a.type) {
case "private":
if (a.to_user_ids === undefined) {
return false;
}
return a.to_user_ids === b.to_user_ids;
case "stream":
return exports.same_stream_and_topic(a, b);
case "private":
if (a.to_user_ids === undefined) {
return false;
}
return a.to_user_ids === b.to_user_ids;
case "stream":
return exports.same_stream_and_topic(a, b);
}
// should never get here