Skip to content

Commit 360932b

Browse files
BUGFIX : Missed adding the return in the file switch
1 parent 7d5ea6f commit 360932b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

schema/schema.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'schema.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.1.0'
15+
ModuleVersion = '1.1.1'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()

schema/schema.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function Get-Document {
2323
switch ($Schema.Scheme) {
2424
'file' {
2525
Write-Verbose "Incoming Filepath";
26-
Get-Content -Path $Path | ConvertFrom-Json;
26+
Return Get-Content -Path $Path | ConvertFrom-Json;
2727
}
2828
'https' {
2929
Write-Verbose "Incoming HTTPs path";

0 commit comments

Comments
 (0)