Apply suggestion from @ellipsis-dev[bot]
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
parent
8c28f9b6a6
commit
83bb765bcc
@ -157,5 +157,5 @@ export function formatDuration(startTime: number, endTime?: number): string {
|
||||
}
|
||||
|
||||
export function sanitizeModelId(modelId: string): string {
|
||||
return modelId.replace(/[^a-zA-Z0-9/_\-.]/g, '').replace(".", "_")
|
||||
return modelId.replace(/[^a-zA-Z0-9/_\-.]/g, '').replace(/\./g, "_")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user