Rename internal functions to be singular to align with PowerShell best practice; Add additional debug logging for some internal exceptions #1295
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rename any internal function with a plural noun to a singular one
feature: #1271
Addressed the following ScriptAnalyzer warnings
PSAvoidUsingCmdletAliases
PSAvoidUsingWriteHost
PSAvoidUsingInvokeExpression
Suppress
PSPossibleIncorrectComparisonWithNull
for functionNew-PodeAutoRestartServer
Renamed the following internal functions:
Read-PodeWebExceptionDetails
->Read-PodeWebExceptionDetail
Test-PodeAuthUserGroups
->Test-PodeAuthUserGroup
Get-PodeAuthADGroups
->Get-PodeAuthADGroup
Get-PodeModuleDependencies
->Get-PodeModuleDependency
Get-PodeModuleDetails
->Get-PodeModuleInfo
Get-PodeDefaultSslProtocols
->Get-PodeDefaultSslProtocol
New-PodeRunspacePools
->New-PodeRunspacePool
Test-PodeEndpoints ->
Test-PodeEndpoint`Close-PodeRunspacePools
->Close-PodeRunspacePool
Set-PodeOutputVariables
->Set-PodeOutputVariable
Get-PodeCronFields
->Get-PodeCronField
Get-PodeCronFieldConstraints
->Get-PodeCronFieldConstraint
Get-PodeCronFieldAliases
->Get-PodeCronFieldAlias
ConvertFrom-PodeCronExpressions
->ConvertFrom-PodeCronExpression
Get-PodeRandomBytes
->Get-PodeRandomByte
Find-PodeEndpoints
->Find-PodeEndpointInternal
Test-PodeEndpoints
->Test-PodeEndpoint
Get-PodeErrorLoggingLevels
->Get-PodeErrorLoggingLevel
Test-PodeLoggerBatches
->Test-PodeLoggerBatch
Update-PodeServerRequestMetrics
->Update-PodeServerRequestMetric
Update-PodeServerSignalMetrics
->Update-PodeServerSignalMetric
Update-PodeRouteSlashes
->Update-PodeRouteSlash
Resolve-PodePlaceholders
->Resolve-PodePlaceholder
Complete-PodeInternalSchedules
->Complete-PodeInternalSchedule
Find-PodeScopedVariableUsingVariableValues
->Find-PodeScopedVariableUsingVariableValue
Get-PodeScopedVariableUsingVariables
->Get-PodeScopedVariableUsingVariable
Convert-PodeScopedVariableUsingVariables
->Convert-PodeScopedVariableUsingVariable
Find-PodeScopedVariableUsingVariableValues
->Find-PodeScopedVariableUsingVariableValue
Unregister-PodeSecretVaults
->Unregister-PodeSecretVaultsInternal
Clear-PodeHashtableInnerKeys
->Clear-PodeHashtableInnerKey
Exceptions
Added body to any Execptions without any code