mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-17 21:10:46 +00:00
make examples and tests runnable if dot sourced
This commit is contained in:
parent
598e0dd647
commit
09078d382b
@ -63,4 +63,4 @@ function main {
|
||||
finally { Disconnect-Voicemeeter }
|
||||
}
|
||||
|
||||
if ($MyInvocation.InvocationName -ne '.') { main }
|
||||
main
|
||||
|
@ -68,4 +68,4 @@ function main {
|
||||
}
|
||||
}
|
||||
|
||||
if ($MyInvocation.InvocationName -ne '.') { main }
|
||||
main
|
||||
|
@ -73,5 +73,4 @@ function main() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($MyInvocation.InvocationName -ne '.') { main }
|
||||
main
|
||||
|
Loading…
Reference in New Issue
Block a user