We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4846476 commit 0cdbdb0Copy full SHA for 0cdbdb0
src/integrations/terminal/TerminalProcess.ts
@@ -52,7 +52,7 @@ export class TerminalProcess extends EventEmitter<TerminalProcessEvents> {
52
// Use wouldExceedSizeLimit to avoid creating unnecessary buffer
53
if (wouldExceedSizeLimit(this.totalBytes, this.contextLimit)) {
54
// Create size estimate only when needed for error details
55
- const sizeEstimate = estimateContentSize(Buffer.alloc(0, this.totalBytes), this.contextLimit)
+ const sizeEstimate = estimateContentSize(Buffer.alloc(this.totalBytes), this.contextLimit)
56
this.emit(
57
"error",
58
new ContentTooLargeError({
0 commit comments