Merge pull request #249 from ente-io/fix-desktop-save-extra-dot
Fixed desktop downloaded file had extra dot in name
This commit is contained in:
commit
cb3c6fa50d
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ export function getUniqueSavePath(filename: string, directory: string): string {
|
|||
extension,
|
||||
]
|
||||
.filter((x) => x) // filters out undefined/null values
|
||||
.join('.');
|
||||
.join('');
|
||||
uniqueFileSavePath = path.join(directory, fileNameWithNumberedSuffix);
|
||||
}
|
||||
return uniqueFileSavePath;
|
||||
|
|
Loading…
Add table
Reference in a new issue