mirror of
https://github.com/Effect-TS/effect.git
synced 2026-12-01 03:05:36 +08:00
Enable LSP plugin diagnostics at compile time (#346)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
1384010732
commit
ffc2d4e382
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user