This repository was archived by the owner on Feb 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/main/java/ai/deepcode/javaclient/core Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1+ ## [ 2.3.3] - 2022-05
2+ - fix: recognition of bundle that contains no files
3+
14## [ 2.3.2] - 2022-05
25- fix: make re-try attempts for most api calls if not succeed for any reason (except 401 - auth failed)
36
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
66
77group = " io.snyk.code.sdk"
88archivesBaseName = " snyk-code-client"
9- version = " 2.3.2 "
9+ version = " 2.3.3 "
1010
1111repositories {
1212 mavenLocal()
Original file line number Diff line number Diff line change @@ -592,11 +592,8 @@ private CreateBundleResponse makeNewBundle(
592592 new ExtendBundleWithHashRequest (request , removedFiles ));
593593 }
594594 String newBundleId = bundleResponse .getBundleHash ();
595- // By man: "Extending a bundle by removing all the parent bundle's files is not allowed."
596- // In reality new bundle returned with next bundleID:
597- // .../DEEPCODE_PRIVATE_BUNDLE/0000000000000000000000000000000000000000000000000000000000000000
598- if (newBundleId .endsWith (
599- "/DEEPCODE_PRIVATE_BUNDLE/0000000000000000000000000000000000000000000000000000000000000000" )) {
595+ // assigned to every bundle that contains no files
596+ if (newBundleId .endsWith ("0000000000000000000000000000000000000000000000000000000000000000" )) {
600597 newBundleId = "" ;
601598 }
602599 checkApiCallSucceed (project , bundleResponse , "Bad Create/Extend Bundle request: " );
You can’t perform that action at this time.
0 commit comments