Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
maotoumao committed Dec 4, 2022
2 parents 4789e20 + 8f30721 commit 081874f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const getDownloadPath = (fileName?: string) => {
if (!dlPath.endsWith('/')) {
return `${dlPath}/${fileName ?? ''}`;
}
return fileName ? dlPath : dlPath + fileName;
return fileName ? dlPath + fileName : dlPath;
};

/** 从待下载中移除 */
Expand Down

0 comments on commit 081874f

Please sign in to comment.