diff options
author | Ajay <[email protected]> | 2023-01-21 16:20:18 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2023-01-21 16:20:18 -0500 |
commit | 35e0f7ede9aa64fe9d3695dde551434f95eb20fb (patch) | |
tree | ff5b0329b3d5bde1ab801416d2d7475a64673e2d /src/utils | |
parent | 8383699a6885348302420938353aa5be0eadb5df (diff) | |
download | SponsorBlock-35e0f7ede9aa64fe9d3695dde551434f95eb20fb.tar.gz SponsorBlock-35e0f7ede9aa64fe9d3695dde551434f95eb20fb.zip |
Fix warnings
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/exporter.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/exporter.ts b/src/utils/exporter.ts index 9c809b41..3a199708 100644 --- a/src/utils/exporter.ts +++ b/src/utils/exporter.ts @@ -82,7 +82,7 @@ export function importTimes(data: string, videoDuration: number): SponsorTime[] return result; } -function removeIf(value: string, matchers: Array<{ matcher: RegExp, condition?: (value: string) => boolean }>): string { +function removeIf(value: string, matchers: Array<{ matcher: RegExp; condition?: (value: string) => boolean }>): string { let result = value; for (const matcher of matchers) { if (!matcher.condition || matcher.condition(value)) { |