Skip to content

Commit f706eb5

Browse files
committed
update constant
1 parent 5b7e312 commit f706eb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/executor/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ export function isValidEnvVarName(name: string): boolean {
441441

442442
export function sanitizeFileName(fileName: string): string {
443443
if (!fileName || typeof fileName !== 'string') {
444-
return 'file'
444+
return 'untitled'
445445
}
446446
return fileName.replace(/\s+/g, '-').replace(/[^a-zA-Z0-9.-]/g, '_')
447447
}

0 commit comments

Comments
 (0)