mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-10 02:41:30 +00:00
Fix outdated package detection
This commit is contained in:
@@ -136,7 +136,7 @@ class Cargo(object):
|
|||||||
installed_version = self.get_installed().get(name)
|
installed_version = self.get_installed().get(name)
|
||||||
|
|
||||||
cmd = ["search", name, "--limit", "1"]
|
cmd = ["search", name, "--limit", "1"]
|
||||||
data = self._exec(cmd, True, False, False)
|
data, dummy = self._exec(cmd, True, False, False)
|
||||||
|
|
||||||
match = re.search(r'"(.+)"', data)
|
match = re.search(r'"(.+)"', data)
|
||||||
if match:
|
if match:
|
||||||
|
|||||||
Reference in New Issue
Block a user