Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum version mismatch between docs and code #1456

Closed
jasmeralia opened this issue Apr 21, 2020 · 1 comment · Fixed by #1457
Closed

Minimum version mismatch between docs and code #1456

jasmeralia opened this issue Apr 21, 2020 · 1 comment · Fixed by #1457

Comments

@jasmeralia
Copy link

The README.md lists:

Supported PowerShell Versions and Platforms

  • Windows PowerShell 3.0 or greater
  • PowerShell Core 6.1.0 or greater on Windows/Linux/macOS

However, this does not appear to be accurate:

[stormerider]$ pwsh 
PowerShell 6.1.2
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/pscore6-docs
Type 'help' to get help.

PS /Users/stormerider> Install-Module -Name PSScriptAnalyzer
PS /Users/stormerider> Import-Module -Name PSScriptAnalyzer
Import-Module : Minimum supported version of PSScriptAnalyzer for PowerShell Core is 6.2.0 but current version is '6.1.2'. Please update PowerShell Core.
At line:1 char:1
+ Import-Module -Name PSScriptAnalyzer
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (Minimum support...owerShell Core.:String) [Import-Module], RuntimeException
+ FullyQualifiedErrorId : Minimum supported version of PSScriptAnalyzer for PowerShell Core is 6.2.0 but current version is '6.1.2'. Please update PowerShell Core.,Microsoft.PowerShell.Commands.ImportModuleCommand
 
PS /Users/stormerider> 
@ghost ghost added the Needs: Triage 🔍 label Apr 21, 2020
@bergmeister
Copy link
Collaborator

Good catch, the readme needs to be updated. That is because PowerShell Core 6.1 itself is already out of support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants