★ wanayoo — archive 1999 https://github.com/PowerShell/PowerShellEditorServices/pull/988Nouvelle recherche | Portail wanayoo
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

testing removing consoleecho #988

Merged
merged 3 commits into from Jul 10, 2019

Conversation

@TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Jul 2, 2019

No description provided.

@TylerLeonhardt TylerLeonhardt requested a review from SeeminglyScience Jul 2, 2019
@PowerShell PowerShell deleted a comment Jul 2, 2019
@PowerShell PowerShell deleted a comment Jul 2, 2019
@PowerShell PowerShell deleted a comment Jul 2, 2019
@PowerShell PowerShell deleted a comment Jul 2, 2019
@TylerLeonhardt TylerLeonhardt marked this pull request as ready for review Jul 8, 2019
@TylerLeonhardt TylerLeonhardt requested a review from rjmholt as a code owner Jul 8, 2019
Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

LGTM, thanks @TylerLeonhardt!

Just some optional notes

/// <summary>
/// True if we are running in PowerShell 7, false otherwise.
/// </summary>
public static bool IsPS7 { get; } = PSVersion.Major == 7;

This comment has been minimized.

@SeeminglyScience

SeeminglyScience Jul 9, 2019
Collaborator

Consider future proofing this somewhat by making it IsPS7OrGreater. It doesn't really matter since we aren't using it, but could save us some trouble if it gets used somewhere.

This comment has been minimized.

@TylerLeonhardt

TylerLeonhardt Jul 9, 2019
Author Member

I’d like to keep this as IsPS7. I get the idea that PS8 will maybe be on .NET 5 which might have differences… not too mention that will be years out. Plus, if PS7 makes it back into Windows in a few years, maybe there will be a day where we drop IsPS5 so this file is certainly “living” anyway.

src/PowerShellEditorServices/Utility/Utils.cs Outdated Show resolved Hide resolved
src/PowerShellEditorServices/Utility/Utils.cs Outdated Show resolved Hide resolved
src/PowerShellEditorServices/Utility/Utils.cs Outdated Show resolved Hide resolved
style nit
Co-Authored-By: Patrick Meinecke <SeeminglyScience@users.noreply.github.com>
@PowerShell PowerShell deleted a comment Jul 9, 2019
@rjmholt
rjmholt approved these changes Jul 9, 2019
@TylerLeonhardt TylerLeonhardt merged commit f2c1159 into PowerShell:master Jul 10, 2019
8 checks passed
8 checks passed
Codacy/PR Quality Review Up to standards. A positive pull request.
Details
PowerShellEditorServices-CI Build #PR-988-20190709.01 succeeded
Details
PowerShellEditorServices-CI (PowerShell 5.1 | Windows 10) PowerShell 5.1 | Windows 10 succeeded
Details
PowerShellEditorServices-CI (PowerShell 6 | Ubuntu) PowerShell 6 | Ubuntu succeeded
Details
PowerShellEditorServices-CI (PowerShell 6 | Windows 10) PowerShell 6 | Windows 10 succeeded
Details
PowerShellEditorServices-CI (PowerShell 6 | macOS) PowerShell 6 | macOS succeeded
Details
PowerShellEditorServices-secret-scan #PR-988-20190709.01 succeeded
Details
license/cla All CLA requirements met.
Details
@TylerLeonhardt TylerLeonhardt deleted the TylerLeonhardt:remove-consoleecho branch Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.