Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 9cb9306

Browse files
committed
Fix out of range exception.
1 parent ec9343c commit 9cb9306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VueCliMiddleware/Util/Internals.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private async Task Run()
172172
// get the rest
173173
if (lineBreakPos < 0 && startPos < chunkLength)
174174
{
175-
_linesBuffer.Append(buf, startPos, chunkLength);
175+
_linesBuffer.Append(buf, startPos, chunkLength - startPos);
176176
}
177177
}
178178
}

0 commit comments

Comments
 (0)