mirror of
https://git.stupid.fish/teidesu/scripts.git
synced 2025-07-28 02:32:11 +10:00
chore: update public repo
This commit is contained in:
parent
9891d7734d
commit
2423324540
8 changed files with 531 additions and 0 deletions
|
@ -17,3 +17,7 @@ export async function directoryExists(path: string): Promise<boolean> {
|
|||
return false
|
||||
}
|
||||
}
|
||||
|
||||
export function sanitizeFilename(filename: string) {
|
||||
return filename.replace(/[/\\?%*:|"<>]/g, '_')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue