Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulBlanche committed Aug 22, 2023
1 parent 0f77cc6 commit bdd9e84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/page/Fragment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export function stream(
return new ReadableStream({
async pull(controller) {
if (promise !== undefined) {
// false positive
// deno-lint-ignore no-await-in-sync-fn
await promise;
}
const chunkOrFragment = i % 2 === 0 ? templateArray[i / 2] : interpolations[(i - 1) / 2];
Expand Down

0 comments on commit bdd9e84

Please sign in to comment.