Update StackMonkey.ps1
This commit is contained in:
@@ -1383,8 +1383,7 @@ if (-not $SilentInstall) {
|
||||
Start-Server
|
||||
}
|
||||
|
||||
# Only auto-invoke if the user actually passed parameters
|
||||
if ($PSBoundParameters.Count -gt 0) {
|
||||
# At the end of ScriptMonkey.ps1
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
Invoke-ScriptMonkey @PSBoundParameters
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user