tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev
This commit is contained in:
parent
f627a05cf8
commit
eb10aafd7c
57 changed files with 213 additions and 176 deletions
|
@ -99,7 +99,7 @@ import {
|
|||
FALLBACK_NOTIFICATION_TITLE,
|
||||
} from './notifications';
|
||||
import * as log from '../logging/log';
|
||||
import { assert } from '../util/assert';
|
||||
import { assertDev } from '../util/assert';
|
||||
|
||||
const {
|
||||
processGroupCallRingRequest,
|
||||
|
@ -433,7 +433,7 @@ export class CallingClass {
|
|||
switch (callMode) {
|
||||
case CallMode.Direct:
|
||||
// We could easily support this in the future if we need to.
|
||||
assert(
|
||||
assertDev(
|
||||
hasLocalAudio,
|
||||
'Expected local audio to be enabled for direct call lobbies'
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue