corgea-cli 1.3.2__tar.gz → 1.3.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -195,7 +195,7 @@ checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
195
195
 
196
196
  [[package]]
197
197
  name = "corgea"
198
- version = "1.3.2"
198
+ version = "1.3.3"
199
199
  dependencies = [
200
200
  "clap",
201
201
  "dirs",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "corgea"
3
- version = "1.3.2"
3
+ version = "1.3.3"
4
4
  edition = "2021"
5
5
 
6
6
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: corgea-cli
3
- Version: 1.3.2
3
+ Version: 1.3.3
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -281,7 +281,6 @@ fn upload_scan(config: &Config, paths: Vec<String>, scanner: String, input: Stri
281
281
  if !response.status().is_success() {
282
282
  eprintln!("Failed to upload file {} {}... retrying", response.status(), path);
283
283
  std::thread::sleep(std::time::Duration::from_secs(1));
284
- upload_error_count = upload_error_count + 1;
285
284
  attempts += 1;
286
285
  } else {
287
286
  uploaded_count += 1;
@@ -297,6 +296,7 @@ fn upload_scan(config: &Config, paths: Vec<String>, scanner: String, input: Stri
297
296
  }
298
297
 
299
298
  if attempts == 3 && !success {
299
+ upload_error_count += 1;
300
300
  eprintln!("Failed to upload file: {} after 3 attempts. skipping...", path);
301
301
  }
302
302
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes