mirror of
https://git.stupid.fish/teidesu/scripts.git
synced 2026-01-12 15:11:10 +11:00
chore: update public repo
This commit is contained in:
parent
ae327488d4
commit
89e10fc021
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