mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
chore: delete validade-path.ts
This commit is contained in:
parent
b0e8a83549
commit
8b6fa51188
1 changed files with 0 additions and 10 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue