Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
psake
4.9.0
private/GetCurrentConfigurationOrDefault.ps1
function
GetCurrentConfigurationOrDefault
(
)
{
if
(
$psake
.
context
.
count
-gt
0
)
{
return
$psake
.
context
.
peek
(
)
.
config
}
else
{
return
$psake
.
config_default
}
}