Skip to content

PSDesiredStateConfiguration.psm1 has call to sort which is a native linux command and not an alias #2520

Closed

Description

@vors

In PSDSC.psm1 (from nuget package 1.0.0-alpha01), on line 1873, there is a call to sort which should be sort-object. sort is not an alias on unix, it's a coreutil command.

$moduleInfos = Get-Module -ListAvailable -FullyQualifiedName $moduleToImport | sort -Property Version -Descending

Not sure how it manages to work as is.
John Kordich (@johnkord) nitinbps

Activity

  1. joeyaiello commented on Oct 25, 2016

    @joeyaiello
    Contributor

    sergei (@vors): I'm refiling that bug where the code is actually housed.

  2. vors commented on Nov 28, 2016

    @vors
    CollaboratorAuthor

    Since we are currently consuming nuget package with psm1 file and owning it, I think it would be better to leave it open until it's fixed.

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

    Area-DSCDesired State Configuration issuesResolution-FixedThe issue is fixed.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions