Skip to content

Commit b09da3c

Browse files
author
Quoc Truong
committed
Merge pull request #370 from PowerShell/SwitchProfileAndConfiguration
Switch profile and configuration
2 parents f09842a + bb5ee27 commit b09da3c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Engine/Commands/InvokeScriptAnalyzerCommand.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,15 @@ public SwitchParameter SuppressedOnly
159159
/// <summary>
160160
/// Returns path to the file that contains user profile for ScriptAnalyzer
161161
/// </summary>
162-
[Alias("Configuration")]
162+
[Alias("Profile")]
163163
[Parameter(Mandatory = false)]
164164
[ValidateNotNull]
165-
public string Profile
165+
public string Configuration
166166
{
167-
get { return profile; }
168-
set { profile = value; }
167+
get { return configuration; }
168+
set { configuration = value; }
169169
}
170-
private string profile;
170+
private string configuration;
171171

172172
#endregion Parameters
173173

@@ -188,7 +188,7 @@ protected override void BeginProcessing()
188188
this.excludeRule,
189189
this.severity,
190190
this.suppressedOnly,
191-
this.profile);
191+
this.configuration);
192192
}
193193

194194
/// <summary>

0 commit comments

Comments
 (0)