Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jerico committed Mar 18, 2024
1 parent 5aafb2d commit c8bd83f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lambda-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ const streamify_handler: StreamifyHandler = async ( event, response ) => {
const metadata = {
statusCode: 404,
headers: {
'Content-Type': 'text/html'
'Content-Type': 'text/html',
},
};
response = awslambda.HttpResponseStream.from( response, metadata );
response.write( 'File not found.' );
response.end();
return;
}
}
throw e;
}

Expand Down

0 comments on commit c8bd83f

Please sign in to comment.