mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix outdated package detection
This commit is contained in:
parent
8c92bcc10e
commit
af4fae722e
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class Cargo(object):
|
|||
installed_version = self.get_installed().get(name)
|
||||
|
||||
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)
|
||||
if match:
|
||||
|
|
Loading…
Reference in a new issue