Skip to content

Commit

Permalink
minor fix.
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Gupta <[email protected]>
  • Loading branch information
Krishna2323 committed Feb 23, 2024
1 parent d013155 commit 2f3da03
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/libs/fileDownload/FileUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ function getFileName(url: string): string {
Log.warn('[FileUtils] Could not get attachment name', {url});
}

if (!fileName) {
Log.warn('[FileUtils] Could not get attachment name', {url});
}

return decodeURIComponent(fileName).replace(CONST.REGEX.ILLEGAL_FILENAME_CHARACTERS, '_');
}

Expand Down

0 comments on commit 2f3da03

Please sign in to comment.