Removed version check from main as it is checked in the download function. Having the check here was breaking "latest version" functionality.
This commit is contained in:
parent
4c71598049
commit
e7c39a30ca
1 changed files with 1 additions and 2 deletions
|
@ -349,8 +349,7 @@ def main():
|
||||||
|
|
||||||
prev_state = "absent"
|
prev_state = "absent"
|
||||||
if os.path.isdir(dest):
|
if os.path.isdir(dest):
|
||||||
dest = dest + "/" + artifact_id + "-" + version + ".jar"
|
dest = dest + "/" + artifact_id + "-" + version + "." + extension
|
||||||
|
|
||||||
if os.path.lexists(dest):
|
if os.path.lexists(dest):
|
||||||
prev_state = "present"
|
prev_state = "present"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue