Since the last refactoring, Import-Ini now uses [System.IO.File]::ReadAllLines() for reading the content of files.
This method is not able to resolve TestDrive:\ from Invoke-Pester.
The pester tests of the module are working around this be using [System.IO.Path]::GetTempPath() instead.
But if this module is used within pester tests of someone else, this could break the tests.
Since the last refactoring,
Import-Ininow uses[System.IO.File]::ReadAllLines()for reading the content of files.This method is not able to resolve
TestDrive:\fromInvoke-Pester.The pester tests of the module are working around this be using
[System.IO.Path]::GetTempPath()instead.But if this module is used within pester tests of someone else, this could break the tests.