Skip to content

Commit 0cdbdb0

Browse files
Update src/integrations/terminal/TerminalProcess.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent 4846476 commit 0cdbdb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integrations/terminal/TerminalProcess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class TerminalProcess extends EventEmitter<TerminalProcessEvents> {
5252
// Use wouldExceedSizeLimit to avoid creating unnecessary buffer
5353
if (wouldExceedSizeLimit(this.totalBytes, this.contextLimit)) {
5454
// Create size estimate only when needed for error details
55-
const sizeEstimate = estimateContentSize(Buffer.alloc(0, this.totalBytes), this.contextLimit)
55+
const sizeEstimate = estimateContentSize(Buffer.alloc(this.totalBytes), this.contextLimit)
5656
this.emit(
5757
"error",
5858
new ContentTooLargeError({

0 commit comments

Comments
 (0)