mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 20:47:11 +03:00
Remove extra function calls
This commit is contained in:
@@ -131,10 +131,8 @@ function getSkipRuleValue(segment: SponsorTime | VideoLabelsCacheData, rule: Adv
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
case SkipRuleAttribute.ChannelID:
|
case SkipRuleAttribute.ChannelID:
|
||||||
getChannelIDInfo()
|
|
||||||
return getChannelIDInfo().id;
|
return getChannelIDInfo().id;
|
||||||
case SkipRuleAttribute.ChannelName:
|
case SkipRuleAttribute.ChannelName:
|
||||||
getChannelIDInfo()
|
|
||||||
return getChannelIDInfo().author;
|
return getChannelIDInfo().author;
|
||||||
case SkipRuleAttribute.VideoDuration:
|
case SkipRuleAttribute.VideoDuration:
|
||||||
return getVideoDuration();
|
return getVideoDuration();
|
||||||
|
|||||||
Reference in New Issue
Block a user