Skip to content

9.0.1

Choose a tag to compare

@github-actions github-actions released this 17 Jun 15:11
9d4b9a8

Fixed

  • Invoke-ModuleInstall now imports the target module with -Global. Because
    the function is itself a module export, a plain Import-Module placed the
    installed module's commands in this module's session state rather than the
    caller's, so callers silently relied on command auto-loading. When two
    installed modules export the same command (e.g. a renamed/split module
    leaves an old copy behind), auto-load resolved to the alphabetically-first
    one - which could be the stale version. -Global makes the explicit import
    authoritative in the caller's scope, so resolution is deterministic.