Skip to content

Updating a module that is not using semantic version fails #118

@johlju

Description

@johlju

I have a module dependency of PSPKI which has a version of 3.5. When using PSDepend to verify this module is the current one it fails with the below error. This recently started when PSDepend was updated to a newer version.

PSGalleryModule.ps1: C:\source\SqlServerDsc\output\RequiredModules\PSDepend\0.3.7\Public\Invoke-DependencyScript.ps1:195                              Line |                                                                                                                                                 195 |                      $Output = . $DependencyScript @splat                                                                                           |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                           | Could not compare "3.5" to "3.5.0". Error: "Cannot convert the "3.5.0" value of type "System.Management.Automation.SemanticVersion"                 | to type "System.Double"."

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: staleNo activity, candidate for closing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions