We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3055132 commit d181867Copy full SHA for d181867
components/dropbox/actions/download-file-to-tmp/download-file-to-tmp.mjs
@@ -45,10 +45,7 @@ export default {
45
link, metadata,
46
} = linkResponse.result;
47
48
- // Use provided name or original name
49
- const name = metadata.name;
50
- const fileName = this.name || name;
51
-
+ const fileName = this.name || metadata.name;
52
const cleanFileName = fileName.replace(/[?$#&{}[]<>\*!@:\+\\\/]/g, "");
53
54
const tmpPath = checkTmp(cleanFileName);
0 commit comments