From 5030891e7f480fda1d38cf0e69428758d1e00cc2 Mon Sep 17 00:00:00 2001 From: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> Date: Fri, 19 Apr 2024 11:21:50 -0700 Subject: [PATCH] chore: remove answered comment question --- packages/blockstore-fs/src/index.ts | 1 - packages/datastore-fs/src/index.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/blockstore-fs/src/index.ts b/packages/blockstore-fs/src/index.ts index 2086b100..25ab4a2d 100644 --- a/packages/blockstore-fs/src/index.ts +++ b/packages/blockstore-fs/src/index.ts @@ -38,7 +38,6 @@ async function writeFile (writer: StenoWriter, file: string, contents: Uint8Arra // On Windows, if the final file already exists this error is thrown. // No such error is thrown on Linux/Mac // Make sure we can read & write to this file - // 2023-12-14: Is this still needed with steno? await fs.access(file, fs.constants.F_OK | fs.constants.W_OK) // The file was created by another context - this means there were diff --git a/packages/datastore-fs/src/index.ts b/packages/datastore-fs/src/index.ts index e1048455..844dda05 100644 --- a/packages/datastore-fs/src/index.ts +++ b/packages/datastore-fs/src/index.ts @@ -38,7 +38,6 @@ async function writeFile (writer: StenoWriter, file: string, contents: Uint8Arra // On Windows, if the final file already exists this error is thrown. // No such error is thrown on Linux/Mac // Make sure we can read & write to this file - // 2023-12-14: Is this still needed with steno? await fs.access(file, fs.constants.F_OK | fs.constants.W_OK) // The file was created by another context - this means there were