Skip to content

Commit 8124f7d

Browse files
committed
cry
1 parent ad50479 commit 8124f7d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

dev-packages/test-utils/src/mock-sentry-server.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,12 @@ function parseMultipartParts(body: Buffer, boundary: string): { headers: string;
5353
/**
5454
* Extract and inspect a single multipart chunk: decompress, unzip, read manifest.
5555
*/
56-
function extractChunkPart(partContent: Buffer, outputDir: string, chunkIndex: number, partIndex: number): ChunkFileRecord {
56+
function extractChunkPart(
57+
partContent: Buffer,
58+
outputDir: string,
59+
chunkIndex: number,
60+
partIndex: number,
61+
): ChunkFileRecord {
5762
const bundleDir = path.join(outputDir, `bundle_${chunkIndex}_${partIndex}`);
5863

5964
// Try to decompress (sentry-cli gzips chunks)
@@ -125,12 +130,7 @@ function processChunkUpload(
125130
/**
126131
* Send the appropriate mock response based on the request URL.
127132
*/
128-
function sendResponse(
129-
req: http.IncomingMessage,
130-
res: http.ServerResponse,
131-
port: number,
132-
org: string,
133-
): void {
133+
function sendResponse(req: http.IncomingMessage, res: http.ServerResponse, port: number, org: string): void {
134134
const url = req.url || '';
135135

136136
if (url.includes('/artifactbundle/assemble/')) {

0 commit comments

Comments
 (0)