Skip to content

Commit

Permalink
chore: 移除无用判断
Browse files Browse the repository at this point in the history
  • Loading branch information
share121 committed Feb 7, 2025
1 parent 68811b3 commit 96b8ff8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export interface FetchChunksOptions {

export async function* fetchChunks(data: FetchChunksOptions) {
for (const item of data.chunks) {
if (data.signal.aborted) return;
const r = await fetch(data.url, {
headers: {
...data.headers,
Expand Down

0 comments on commit 96b8ff8

Please sign in to comment.