diff --git a/src/main/events/helpers/validate-path.ts b/src/main/events/helpers/validate-path.ts deleted file mode 100644 index 37f4c56bc..000000000 --- a/src/main/events/helpers/validate-path.ts +++ /dev/null @@ -1,10 +0,0 @@ -import fs from "fs"; - -export default function validatePath(path: string): Error | undefined { - try { - fs.accessSync(path, fs.constants.W_OK); - return; - } catch (error) { - return error as Error; - } -}