Skip to content

Local repository returns 4 digit version when 2 or 3 digit is in use #1093

@ThomasNieto

Description

@ThomasNieto

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

Create a local repository and save a few packages with a 2 or 3 digit version number. Then try running Find-PSResource and you'll notice that 0 get added.

Expected behavior

Find-PSResource AnyPackage -Repository Local

Name       Version Prerelease Repository Description
----       ------- ---------- ---------- -----------
AnyPackage 0.1.0              Local      Use various package managers with a single set of commands.

Actual behavior

Find-PSResource AnyPackage -Repository Local

Name       Version Prerelease Repository Description
----       ------- ---------- ---------- -----------
AnyPackage 0.1.0.0            Local      Use various package managers with a single set of commands.

Error details

No response

Environment data

beta20
7.4-preview3

Visuals

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions