Skip to content

Commit eaf2ede

Browse files
Robert Holtrjmholt
authored andcommitted
Fix namespaces in rules
1 parent 6d10fb0 commit eaf2ede

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

Rules/CompatibilityRules/CompatibilityRule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using System.Text;
1212
using System.Text.RegularExpressions;
1313
using Microsoft.PowerShell.CrossCompatibility.Query;
14-
using Microsoft.PowerShell.CrossCompatibility.Utility;
14+
using Microsoft.PowerShell.CrossCompatibility.Retrieval;
1515
using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic;
1616

1717
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules

Rules/CompatibilityRules/UseCompatibleCommands.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
using System.Text.RegularExpressions;
1212
using System.IO;
1313
using System.Runtime.Serialization;
14-
using Microsoft.PowerShell.CrossCompatibility.Query.Platform;
1514

1615
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules
1716
{

Rules/CompatibilityRules/UseCompatibleTypes.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
using System.Collections.Generic;
66
using System.Globalization;
77
using System.Management.Automation.Language;
8+
using Microsoft.PowerShell.CrossCompatibility;
89
using Microsoft.PowerShell.CrossCompatibility.Query;
9-
using Microsoft.PowerShell.CrossCompatibility.Query.Platform;
10-
using Microsoft.PowerShell.CrossCompatibility.Utility;
1110
using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic;
1211

1312
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules

0 commit comments

Comments
 (0)