Skip to content

Commit d181867

Browse files
luancazarinejcortes
authored andcommitted
some adjusts
1 parent 3055132 commit d181867

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

components/dropbox/actions/download-file-to-tmp/download-file-to-tmp.mjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ export default {
4545
link, metadata,
4646
} = linkResponse.result;
4747

48-
// Use provided name or original name
49-
const name = metadata.name;
50-
const fileName = this.name || name;
51-
48+
const fileName = this.name || metadata.name;
5249
const cleanFileName = fileName.replace(/[?$#&{}[]<>\*!@:\+\\\/]/g, "");
5350

5451
const tmpPath = checkTmp(cleanFileName);

0 commit comments

Comments
 (0)