Marco Blessing
7708df9b66
* update pwsh style in store files * update pwsh style in item files * update pwsh style in connection files * update pwsh style in certificate files * update pwsh style in private files * update pwsh style in drone helper * update meta * fix pwsh style * fix output type * fix typo in OutputType * update appveyor build mode * debugging build mode * wip * test windows pipeline * fix typo * simplify drone setup * update readme * remove deprecated cicd setup * update pwsh style
22 lines
424 B
PowerShell
22 lines
424 B
PowerShell
function Get-ModuleBase {
|
|
<#
|
|
.SYNOPSIS
|
|
Returns the base path of the current module.
|
|
|
|
.DESCRIPTION
|
|
This is just a wrapper for enabling pester tests.
|
|
|
|
.OUTPUTS
|
|
Returns the base path as string
|
|
#>
|
|
|
|
[CmdletBinding()]
|
|
[OutputType([string])]
|
|
param ()
|
|
begin {}
|
|
process {
|
|
return $MyInvocation.MyCommand.Module.ModuleBase
|
|
}
|
|
end {}
|
|
}
|