Skip to content

Commit 0d44f91

Browse files
committed
chore: remove explicit undefined return
1 parent decbe12 commit 0d44f91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/formatters/networkFormatter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export async function getFormattedResponseBody(
6262
return `<binary data>`;
6363
} catch {
6464
// buffer() call might fail with CDP exception, in this case we don't print anything in the context
65-
return undefined;
65+
return;
6666
}
6767
}
6868

@@ -85,11 +85,11 @@ export async function getFormattedRequestBody(
8585
}
8686
} catch {
8787
// fetchPostData() call might fail with CDP exception, in this case we don't print anything in the context
88-
return undefined;
88+
return;
8989
}
9090
}
9191

92-
return undefined;
92+
return;
9393
}
9494

9595
function getSizeLimitedString(text: string, sizeLimit: number) {

0 commit comments

Comments
 (0)