fix typo in _collection_finder.py (#74218)

This commit is contained in:
Ikko Ashimine 2021-04-10 19:13:50 +09:00 committed by GitHub
parent 3504f4c45f
commit b70a42f693
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ class _AnsibleCollectionFinder:
# expand any placeholders in configured paths
for p in paths:
# ensure we alway shave ansible_collections
# ensure we always have ansible_collections
if os.path.basename(p) == 'ansible_collections':
p = os.path.dirname(p)