aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-01-21 16:20:18 -0500
committerAjay <[email protected]>2023-01-21 16:20:18 -0500
commit35e0f7ede9aa64fe9d3695dde551434f95eb20fb (patch)
treeff5b0329b3d5bde1ab801416d2d7475a64673e2d /src/utils
parent8383699a6885348302420938353aa5be0eadb5df (diff)
downloadSponsorBlock-35e0f7ede9aa64fe9d3695dde551434f95eb20fb.tar.gz
SponsorBlock-35e0f7ede9aa64fe9d3695dde551434f95eb20fb.zip
Fix warnings
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/exporter.ts2
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)) {