You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading a configuration file, as a path, it will always give the same error: > Invoke-Testimo -Configuration "C:\Temp\testmio.json" [t][Forest] Loading configuratio failed. Skipping. [Informative] [Not JSON/Hashtable or syntax is incorrect.] [t][Forest] Using configuration provided by user [Informative] [Configuration loaded from ]
This is because in the "Import-TestimoConfiguration" function you reference to "$Object" two times where it should be "$Configuration":
Thank you for noticing. Hope you can make PR's in future improving Testimo :-) I've fixed it now. I was copying/pasting from outside and forgot to change.
When loading a configuration file, as a path, it will always give the same error:
> Invoke-Testimo -Configuration "C:\Temp\testmio.json" [t][Forest] Loading configuratio failed. Skipping. [Informative] [Not JSON/Hashtable or syntax is incorrect.] [t][Forest] Using configuration provided by user [Informative] [Configuration loaded from ]
This is because in the "Import-TestimoConfiguration" function you reference to "$Object" two times where it should be "$Configuration":
} elseif ($Object -is [string]) { if (Test-Path -LiteralPath $Object) { $Option = 'File' $FileContent = Get-Content -LiteralPath $Configuration }
Should be:
} elseif ($Configuration-is [string]) { if (Test-Path -LiteralPath $Configuration) { $Option = 'File' $FileContent = Get-Content -LiteralPath $Configuration }
The text was updated successfully, but these errors were encountered: