style: 格式化项目代码
- 根据prettier配置格式化整个项目的代码
This commit is contained in:
@ -8,5 +8,5 @@ export function formatFileSize(sizeInKB: number): string {
|
||||
}
|
||||
|
||||
export function formatFileExtension(ext: string): string {
|
||||
return ext.startsWith(".") ? ext.slice(1).toUpperCase() : ext.toUpperCase();
|
||||
return ext.startsWith('.') ? ext.slice(1).toUpperCase() : ext.toUpperCase();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user