Skip to content

Commit b810f93

Browse files
committed
fix(reName): 修复命名问题
1 parent c5fca95 commit b810f93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/reName.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ export function reName(nameType: string, url: string): string {
55
const fileName = path.basename(url)
66
switch (nameType) {
77
case NameType.timestamp:
8-
return `${Date.now()}$`
8+
return `${Date.now()}`
99
case NameType.none:
1010
default:
11-
return `${fileName}$`
11+
return `${fileName}`
1212
}
1313
}

0 commit comments

Comments
 (0)