Enable LSP plugin diagnostics at compile time (#346)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Michael Arnaldi
2025-07-23 10:40:14 +02:00
committed by GitHub
co-authored by Claude
parent 1384010732
commit ffc2d4e382
7 changed files with 62 additions and 18 deletions
@@ -335,7 +335,7 @@ const makeFile = (() => {
private writeAllChunk(buffer: Uint8Array): Effect.Effect<void, Error.PlatformError> {
return Effect.suspend(() => {
const position = this.position
return Effect.map(
return Effect.flatMap(
nodeWriteAll(this.fd, buffer, undefined, undefined, this.append ? undefined : Number(position)),
(bytesWritten) => {
if (bytesWritten === 0) {