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

Finalise new -ReportSummary switch #895

Merged
merged 14 commits into from
Mar 2, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
make one helper private and add licence header
  • Loading branch information
bergmeister committed Feb 25, 2018
commit 3687c3f86d3fb2063540335519cb42f0d24571ff
7 changes: 5 additions & 2 deletions Engine/Generic/ConsoleHostHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Management.Automation.Host;

namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic
Expand All @@ -19,7 +22,7 @@ internal static void DisplayMessageUsingSystemProperties(PSHost psHost, string f
}
}

internal static bool TryGetPrivateDataConsoleColor(PSHost psHost, string propertyName, out ConsoleColor consoleColor)
private static bool TryGetPrivateDataConsoleColor(PSHost psHost, string propertyName, out ConsoleColor consoleColor)
{
consoleColor = default(ConsoleColor);
var property = psHost.PrivateData.Properties[propertyName];
Expand Down