From be6b87ff7f0bdcda3a827d13e00afc6381354701 Mon Sep 17 00:00:00 2001 From: "Christoph Bergmeister [MVP]" Date: Fri, 23 Aug 2019 08:03:32 +0100 Subject: [PATCH] Remove dead code that was not removed in PR #1255 --- Rules/UseCorrectCasing.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Rules/UseCorrectCasing.cs b/Rules/UseCorrectCasing.cs index 7c0c20727..6936e0d67 100644 --- a/Rules/UseCorrectCasing.cs +++ b/Rules/UseCorrectCasing.cs @@ -32,11 +32,6 @@ public override IEnumerable AnalyzeScript(Ast ast, string file IEnumerable commandAsts = ast.FindAll(testAst => testAst is CommandAst, true); - bool isWindows = true; -#if CORECLR - isWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows); -#endif - // Iterates all CommandAsts and check the command name. foreach (CommandAst commandAst in commandAsts) {