浏览代码

removed unnecessary return

Gildas 6 年之前
父节点
当前提交
6dfa1c71be
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      extension/core/bg/config.js

+ 1 - 1
extension/core/bg/config.js

@@ -371,7 +371,7 @@ singlefile.extension.core.bg.config = (() => {
 			saveAs: true
 		};
 		try {
-			return await singlefile.extension.core.bg.downloads.download(downloadInfo);
+			await singlefile.extension.core.bg.downloads.download(downloadInfo);
 		} finally {
 			URL.revokeObjectURL(url);
 		}