Skip to content

Typo in Uninstall-PsResource #1874

Description

@ildjarnisdead

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

                $"Cannot uninstall verison '{Version}' of resource '{String.Join(", ", Name)}' because it does not exist";

verison instead of version.
I found at least one other 'verison' in Uninstall-PsResource.cs in a comment, haven't searched the rest of the code base to see if this typo was made somewhere else.

Expected behavior

'version' instead of 'verison'.

Actual behavior

'verison' instead of 'version'

Error details

Typo in error message for Uninstall-PsResource

Environment data

get-module Microsoft.PowerShell.PSResourceGet; $PSVersionTable | Format-Table

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Binary     1.1.1                 Microsoft.PowerShell.PSResourceGet  {Compress-PSResource, Find-PSResource, Get-Instal…


Name                           Value
----                           -----
PSVersion                      7.5.3
PSEdition                      Core
GitCommitId                    7.5.3
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions