From b3a886a952e8179d281f7c27f0d7244a778c869f Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Thu, 5 Mar 2020 14:59:57 -0800 Subject: [PATCH] Fix typo in settings --- .../Services/Workspace/Handlers/ConfigurationHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PowerShellEditorServices/Services/Workspace/Handlers/ConfigurationHandler.cs b/src/PowerShellEditorServices/Services/Workspace/Handlers/ConfigurationHandler.cs index f56faf4e0..b77b327ca 100644 --- a/src/PowerShellEditorServices/Services/Workspace/Handlers/ConfigurationHandler.cs +++ b/src/PowerShellEditorServices/Services/Workspace/Handlers/ConfigurationHandler.cs @@ -103,7 +103,7 @@ public async Task Handle(DidChangeConfigurationParams request, Cancellatio } if (incomingSettings.Search?.Exclude != null) { - foreach(KeyValuePair patternEntry in incomingSettings.Files.Exclude) + foreach(KeyValuePair patternEntry in incomingSettings.Search.Exclude) { if (patternEntry.Value && !excludeFilePatterns.Contains(patternEntry.Key)) { excludeFilePatterns.Add(patternEntry.Key); } }