mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-08 11:39:02 +00:00
powershell: support recursive requires statements (#43143)
This commit is contained in:
parent
93c05074ee
commit
48ad90ac8e
6 changed files with 143 additions and 52 deletions
|
|
@ -0,0 +1,20 @@
|
|||
#Requires -Module Ansible.ModuleUtils.Recursive2
|
||||
#Requires -Version 3.0
|
||||
|
||||
Function Get-Test3 {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Test function
|
||||
#>
|
||||
return "Get-Test3: 2: $(Get-Test2)"
|
||||
}
|
||||
|
||||
Function Get-NewTest3 {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Test function
|
||||
#>
|
||||
return "Get-NewTest3"
|
||||
}
|
||||
|
||||
Export-ModuleMember -Function Get-Test3, Get-NewTest3
|
||||
Loading…
Add table
Add a link
Reference in a new issue