Skip to content

Commit c3ad261

Browse files
committed
fix type for InvokeFormatterCommand
1 parent 419adb8 commit c3ad261

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Engine/Commands/InvokeFormatterCommand.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic;
54
using System;
65
using System.Globalization;
76
using System.Management.Automation;
@@ -14,7 +13,7 @@ namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands
1413
/// A cmdlet to format a PowerShell script text.
1514
/// </summary>
1615
[Cmdlet(VerbsLifecycle.Invoke, "Formatter")]
17-
[OutputType(typeof(RuleInfo))]
16+
[OutputType(typeof(string))]
1817
public class InvokeFormatterCommand : PSCmdlet, IOutputWriter
1918
{
2019
private const string defaultSettingsPreset = "CodeFormatting";

0 commit comments

Comments
 (0)