diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-08 11:22:22 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-08 11:22:22 +0200 |
commit | 9da443f374d9f845331435ce3423ad16e5ac331d (patch) | |
tree | f3bb20454787192ce0f64e8f1f9909b58bab2ab7 /server/helpers | |
parent | b0268e27e1584d7afcaa3411df454c68130787be (diff) | |
download | PeerTube-9da443f374d9f845331435ce3423ad16e5ac331d.tar.gz PeerTube-9da443f374d9f845331435ce3423ad16e5ac331d.tar.zst PeerTube-9da443f374d9f845331435ce3423ad16e5ac331d.zip |
Remove unused comments
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/regexp.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/helpers/regexp.ts b/server/helpers/regexp.ts index cfc2be488..257054cea 100644 --- a/server/helpers/regexp.ts +++ b/server/helpers/regexp.ts | |||
@@ -4,7 +4,6 @@ function regexpCapture (str: string, regex: RegExp, maxIterations = 100) { | |||
4 | let m: RegExpExecArray | 4 | let m: RegExpExecArray |
5 | let i = 0 | 5 | let i = 0 |
6 | 6 | ||
7 | // tslint:disable:no-conditional-assignment | ||
8 | while ((m = regex.exec(str)) !== null && i < maxIterations) { | 7 | while ((m = regex.exec(str)) !== null && i < maxIterations) { |
9 | // This is necessary to avoid infinite loops with zero-width matches | 8 | // This is necessary to avoid infinite loops with zero-width matches |
10 | if (m.index === regex.lastIndex) { | 9 | if (m.index === regex.lastIndex) { |