mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-07 03:57:09 +03:00
Fix exporter test
This commit is contained in:
@@ -16,7 +16,7 @@ export function exportTimes(segments: SponsorTime[]): string {
|
|||||||
let result = "";
|
let result = "";
|
||||||
for (const segment of segments) {
|
for (const segment of segments) {
|
||||||
if (![ActionType.Full, ActionType.Mute].includes(segment.actionType)
|
if (![ActionType.Full, ActionType.Mute].includes(segment.actionType)
|
||||||
&& [SponsorSourceType.YouTube, SponsorSourceType.Autogenerated].includes(segment.source)) {
|
&& ![SponsorSourceType.YouTube, SponsorSourceType.Autogenerated].includes(segment.source)) {
|
||||||
result += exportTime(segment) + "\n";
|
result += exportTime(segment) + "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user