Skip to content

Commit

Permalink
feat: 优化
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhelinCheng committed Jun 1, 2021
1 parent a1bd8cf commit e003445
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/downloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* @Author : Zhelin Cheng
* @Date : 2021-02-19 15:16:57
* @LastEditors : Zhelin Cheng
* @LastEditTime : 2021-06-01 15:57:29
* @FilePath : /bilibili-downloader/src/core/downloader.ts
* @LastEditTime : 2021-06-01 23:50:14
* @FilePath : \bilibili-downloader\src\core\downloader.ts
* @Description : 未添加文件描述
*/

Expand All @@ -19,6 +19,7 @@ import { outputPath, isFtp } from '../const';
import dayjs from 'dayjs';

const client = new FTP.Client();
client.ftp.log = logger.info.bind(logger);
client.ftp.verbose = true;

const baseFtpPath = env.BILIBILI_FTP_PATH || '/Multimedia/Bilibili';
Expand Down

0 comments on commit e003445

Please sign in to comment.