powershell: support recursive requires statements (#43143)

This commit is contained in:
Jordan Borean
2018-07-24 08:16:16 +10:00
committed by GitHub
parent 93c05074ee
commit 48ad90ac8e
6 changed files with 143 additions and 52 deletions

View File

@@ -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