From f474f7af21c5c48892c917e4105cbe2089cb3821 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 10 Feb 2021 19:49:14 -0800 Subject: gitignore: pdfs --- .gitignore | 1 + fatcat-cli/src/download.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 67f44b1..b1eb2e3 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ target/ bin/ fatcat-*.tar.gz *.jar +*.pdf !.cargo !.gitlab-ci.yml diff --git a/fatcat-cli/src/download.rs b/fatcat-cli/src/download.rs index ada9834..d0f6c2e 100644 --- a/fatcat-cli/src/download.rs +++ b/fatcat-cli/src/download.rs @@ -329,7 +329,7 @@ fn loop_download_tasks(task_receiver: channel::Receiver, output_se } pub fn download_batch(input_path: Option, output_dir: Option, limit: Option, jobs: u64) -> Result { - let count = 0; + let mut count = 0; assert!(jobs > 0 && jobs <= 12); -- cgit v1.2.3