chore: delete validade-path.ts

This commit is contained in:
Fhilipe Coelho 2024-04-14 23:13:20 -03:00
parent b0e8a83549
commit 8b6fa51188

View File

@ -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;
}
}