Skip to content

Commit

Permalink
v2.3.5
Browse files Browse the repository at this point in the history
Fix body hashtable detection. (#28)
  • Loading branch information
BatmanAMA authored May 15, 2019
1 parent e07bead commit bc24c35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion module/Public/Invoke-nbApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function Invoke-nbApi {
)
$PSCmdlet.ThrowTerminatingError($errorRecord)
}
if ($Body.GetType().FullName -eq [hashtable].FullName)
if ($null -ne $Body -and $Body.GetType().FullName -eq [hashtable].FullName)
{
Write-Verbose -Message "Converting the hashtable body into an object"
$Body = [PSCustomObject]$Body
Expand Down
2 changes: 1 addition & 1 deletion module/Version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.4
2.3.5
2 changes: 1 addition & 1 deletion module/powerbox.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'powerbox.psm1'

# Version number of this module.
ModuleVersion = '2.3.4'
ModuleVersion = '2.3.5'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down

0 comments on commit bc24c35

Please sign in to comment.