mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
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:
@@ -349,8 +349,7 @@ def main():
|
||||
|
||||
prev_state = "absent"
|
||||
if os.path.isdir(dest):
|
||||
dest = dest + "/" + artifact_id + "-" + version + ".jar"
|
||||
|
||||
dest = dest + "/" + artifact_id + "-" + version + "." + extension
|
||||
if os.path.lexists(dest):
|
||||
prev_state = "present"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user