Fixed typo

This commit is contained in:
2025-02-28 15:56:47 -06:00
parent eb3ff67eed
commit bcea6127db

View File

@@ -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