8000 `Import-Ini` can't resolve pester's `TestDrive:\` · Issue #115 · lipkau/PSIni · GitHub
[go: up one dir, main page]

Skip to content

Import-Ini can't resolve pester's TestDrive:\ #115

Closed

Description

@lipkau

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.

Activity

  1. added a commit that references this issue on May 17, 2025
    06a58fa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0