Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanrikulu committed Feb 23, 2024
1 parent 9f9905f commit 329243f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const logResult = async (request: CFWRequest, result: Response) => {
}
const [streamForLog, streamForResult] = result.body.tee();
try {
const logResult: { data: string } = await new Response(streamForLog).json();
const logResult: { data: string } = await new Response(

Check warning on line 38 in src/worker.ts

View workflow job for this annotation

GitHub Actions / Lint on Node 18.x

'logResult' is already defined

Check failure on line 38 in src/worker.ts

View workflow job for this annotation

GitHub Actions / Lint on Node 18.x

Replace `⏎······streamForLog⏎····` with `streamForLog`
streamForLog
).json();
Expand Down

0 comments on commit 329243f

Please sign in to comment.