1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00

Apply suggestions from SonarQube (#2340)

This commit is contained in:
Michael Telatynski
2022-05-03 22:40:57 +01:00
committed by GitHub
parent b86630f0e3
commit 8be30acb11
19 changed files with 86 additions and 96 deletions

View File

@@ -300,7 +300,7 @@ export class PushProcessor {
const memberCount = room.currentState.getJoinedMemberCount();
const m = cond.is.match(/^([=<>]*)([0-9]*)$/);
const m = cond.is.match(/^([=<>]*)(\d*)$/);
if (!m) {
return false;
}