Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature] Remove HelpSystem old formatting code#5907

Merged
daxian-dbw merged 2 commits intoPowerShell:masterfrom
iSazonov:helpsystem-remove-old-code
Jan 17, 2018
Merged

[Feature] Remove HelpSystem old formatting code#5907
daxian-dbw merged 2 commits intoPowerShell:masterfrom
iSazonov:helpsystem-remove-old-code

Conversation

@iSazonov
Copy link
Collaborator

@iSazonov iSazonov commented Jan 15, 2018

PR Summary

Remove HelpSystem old formatting code for CommandInfo. This code was intended for the PowerShell 2.0 version which deprecated currently.
Also now we use new HTTPS HelpUri links, and old HTTP HelpUri links for PS 2.0 may no longer work.

PR Checklist

@iSazonov iSazonov added the WG-Interactive-HelpSystem help infrastructure and formatting of help label Jan 15, 2018
Copy link
Contributor

@lzybkr lzybkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, I removed some of those from the format ps1xml, but missed this one.

I see a couple other places that can be removed:

System.Management.Automation\engine\hostifaces\HostUtilities.cs
946:            if ($PSVersionTable.PSVersion -lt ([version] '3.0'))
963:            if ($PSVersionTable.PSVersion -lt ([version] '3.0'))

@daxian-dbw daxian-dbw force-pushed the helpsystem-remove-old-code branch from 52d7ce6 to 5f28a3c Compare January 16, 2018 18:49
@iSazonov
Copy link
Collaborator Author

CI Travis platform has a problem - I restarted jobs.

@daxian-dbw daxian-dbw merged commit 5674bf3 into PowerShell:master Jan 17, 2018
@iSazonov iSazonov deleted the helpsystem-remove-old-code branch January 17, 2018 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WG-Interactive-HelpSystem help infrastructure and formatting of help

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants