Skip to content

Commit

Permalink
fix: [dl-chrome-extension] build error goplay
Browse files Browse the repository at this point in the history
  • Loading branch information
BelgianNoise committed Jul 27, 2024
1 parent 80d1b3c commit e0a1ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dl-chrome-extension/src/page-buttons/goplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function addSeasonButton(): void {
.map((el) => el.getAttribute('href'))
.filter((url) => url !== null)
.map((url) => url!.startsWith('http') ? url : window.location.origin + url)
.sort((a, b) => a.localeCompare(b));
.sort((a, b) => a!.localeCompare(b!));

for (const video of videoUrls) {
if (video) download({ url: video });
Expand Down

0 comments on commit e0a1ce9

Please sign in to comment.