mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
rename legacy PS module_utils to remove PowerShell prefix (#27495)
This commit is contained in:
parent
b79744f282
commit
91f4c37ed7
5 changed files with 4 additions and 4 deletions
|
@ -791,7 +791,7 @@ def _find_module_utils(module_name, b_module_data, module_path, module_args, tas
|
|||
for line in lines:
|
||||
# legacy, equivalent to #Requires -Modules powershell
|
||||
if REPLACER_WINDOWS in line:
|
||||
module_names.add(b'Ansible.ModuleUtils.PowerShellLegacy')
|
||||
module_names.add(b'Ansible.ModuleUtils.Legacy')
|
||||
line_match = requires_module_list.match(line)
|
||||
if line_match:
|
||||
module_names.add(line_match.group(1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue