Skip to content

Error when package version uses the format [3.5.4] #42

Description

@xt0rted

We've pinned a couple packages since we can't upgrade to newer versions. The project files look like this:

<PackageReference Include="RavenDB.Client" Version="[3.5.4]" />
<PackageReference Include="RavenDB.Client.NodaTime" Version="[3.6.1]" />

Which results in the following error being reported and then the application closes out:

Error: Could not find color or style '3.5.4'.

This happened with version 1.12.0 while running snitch in the directory with the sln.

I think this is due to not escaping the package version (and maybe other text?) when writing it to the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions