File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ function Invoke-nbApi {
73
73
)
74
74
$PSCmdlet.ThrowTerminatingError ($errorRecord )
75
75
}
76
- if ($Body.GetType ().FullName -eq [hashtable ].FullName)
76
+ if ($null -ne $Body -and $ Body.GetType ().FullName -eq [hashtable ].FullName)
77
77
{
78
78
Write-Verbose - Message " Converting the hashtable body into an object"
79
79
$Body = [PSCustomObject ]$Body
Original file line number Diff line number Diff line change 1
- 2.3.3
1
+ 2.3.5
Original file line number Diff line number Diff line change 12
12
RootModule = ' powerbox.psm1'
13
13
14
14
# Version number of this module.
15
- ModuleVersion = ' 2.3.3 '
15
+ ModuleVersion = ' 2.3.5 '
16
16
17
17
# Supported PSEditions
18
18
# CompatiblePSEditions = @()
Original file line number Diff line number Diff line change 1
1
Import-LocalizedData - BindingVariable Strings - FileName Strings - ErrorAction Ignore
2
2
3
3
4
- # Include all function files.
5
- Get-ChildItem $PSScriptRoot \Public\* .ps1, $PSScriptRoot \Private\ * .ps1 | ForEach-Object {
4
+ # Include all function files. (not including $PSScriptRoot\Private\*.ps1 because those are used to build the module)
5
+ Get-ChildItem $PSScriptRoot \Public\* .ps1 | ForEach-Object {
6
6
. $PSItem.FullName
7
7
}
8
8
You can’t perform that action at this time.
0 commit comments