We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b7e312 commit f706eb5Copy full SHA for f706eb5
apps/sim/executor/constants.ts
@@ -441,7 +441,7 @@ export function isValidEnvVarName(name: string): boolean {
441
442
export function sanitizeFileName(fileName: string): string {
443
if (!fileName || typeof fileName !== 'string') {
444
- return 'file'
+ return 'untitled'
445
}
446
return fileName.replace(/\s+/g, '-').replace(/[^a-zA-Z0-9.-]/g, '_')
447
0 commit comments