Skip to content

Commit 8022a18

Browse files
authored
Remove dead code that was not removed in PR #1255 (#1322)
1 parent e42374d commit 8022a18

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Rules/UseCorrectCasing.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ public override IEnumerable<DiagnosticRecord> AnalyzeScript(Ast ast, string file
3232

3333
IEnumerable<Ast> commandAsts = ast.FindAll(testAst => testAst is CommandAst, true);
3434

35-
bool isWindows = true;
36-
#if CORECLR
37-
isWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
38-
#endif
39-
4035
// Iterates all CommandAsts and check the command name.
4136
foreach (CommandAst commandAst in commandAsts)
4237
{

0 commit comments

Comments
 (0)