mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 08:43:48 +03:00
chore: delete validade-path.ts
This commit is contained in:
parent
b0e8a83549
commit
8b6fa51188
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user