people: Modernize CommonJS reference in comment.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-02-09 15:31:48 -08:00 committed by Steve Howell
parent 9cb41c2976
commit 4d6a017320
1 changed files with 3 additions and 3 deletions

View File

@ -1030,9 +1030,9 @@ export function get_people_for_stream_create() {
/*
If you are thinking of reusing this function,
a better option in most cases is to just
call `exports.get_realm_users()` and then
filter out the "me" user yourself as part of
any other filtering that you are doing.
call `get_realm_users()` and then filter out
the "me" user yourself as part of any other
filtering that you are doing.
In particular, this function does a sort
that is kinda expensive and may not apply