Skip to content

Commit

Permalink
Fix unfavorable TS benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Tortoaster committed Dec 19, 2023
1 parent 5624cb7 commit b9b3da0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmarks/ts-node/handlers/unfavorable.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { Request, Response } from '../types';
import {Request, Response} from '../types';

export const handleRequest = async (request: Request): Promise<Response> => {
return {
statusCode: '200 OK',
contentType: '[workspace]\n' +
contentType: 'text/plain',
body: '[workspace]\n' +
'members = [ \n' +
' "log",\n' +
' "shared",\n' +
Expand All @@ -14,6 +15,5 @@ export const handleRequest = async (request: Request): Promise<Response> => {
' "benchmarks",\n' +
']\n' +
'resolver = "2"\n',
body: 'Hello, World!'
};
};

0 comments on commit b9b3da0

Please sign in to comment.