When passing HASH_URI to install-as-version a negative number may be calculated. That leads to an error as the following
Error: The string '-457401206' is not valid SemVer notation for a Java version. Please check README file for code snippets and more detailed information
Proposed fix: use Math.abs(HASH) after calculating the hash value of the URI
When passing
HASH_URI
toinstall-as-version
a negative number may be calculated. That leads to an error as the followingProposed fix: use
Math.abs(HASH)
after calculating the hash value of the URI