From bcea6127db32eae8ba0c1d11403017c2d5dd7933 Mon Sep 17 00:00:00 2001 From: Mindfang Date: Fri, 28 Feb 2025 15:56:47 -0600 Subject: [PATCH] Fixed typo --- PSUtilities/ScriptTools.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PSUtilities/ScriptTools.ps1 b/PSUtilities/ScriptTools.ps1 index afaa200..f1304b9 100644 --- a/PSUtilities/ScriptTools.ps1 +++ b/PSUtilities/ScriptTools.ps1 @@ -233,7 +233,7 @@ Function Import-YAMLConfig () { If (Test-CommandExists -Command "ConvertFrom-Yaml") { If (Test-Path -Path $ConfigFile) { Try { - Return (Get-Content -Raw -Path $ConfigFile | ConvertFrom-Json) + Return (Get-Content -Raw -Path $ConfigFile | ConvertFrom-Yaml) } Catch { Write-Output "Error loading config file! Please make sure the correct path was provided, and that it is a properly formatted JSON file" -As Error