(input: string)
| 215 | * Only allows alphanumeric characters, hyphens, and underscores. |
| 216 | */ |
| 217 | export function sanitizePathComponent(input: string): string { |
| 218 | return input.replace(/[^a-zA-Z0-9_-]/g, '-') |
| 219 | } |
| 220 | |
| 221 | export function getTasksDir(taskListId: string): string { |
| 222 | return join( |
no outgoing calls
no test coverage detected