mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
minor spelling changes
This commit is contained in:
parent
054a3fccf8
commit
0b8011436d
114 changed files with 152 additions and 152 deletions
|
@ -149,7 +149,7 @@ def has_changed(string):
|
|||
return "Nothing to install or update" not in string
|
||||
|
||||
def get_available_options(module, command='install'):
|
||||
# get all availabe options from a composer command using composer help to json
|
||||
# get all available options from a composer command using composer help to json
|
||||
rc, out, err = composer_command(module, "help %s --format=json" % command)
|
||||
if rc != 0:
|
||||
output = parse_out(err)
|
||||
|
|
|
@ -120,7 +120,7 @@ def query_package(module, name, state="present"):
|
|||
|
||||
def remove_packages(module, packages):
|
||||
remove_c = 0
|
||||
# Using a for loop incase of error, we can report the package that failed
|
||||
# Using a for loop in case of error, we can report the package that failed
|
||||
for package in packages:
|
||||
# Query the package first, to see if we even need to remove
|
||||
installed, updated = query_package(module, package)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue