Skip to content

Commit 379931f

Browse files
Fix typo in settings (#1220)
1 parent c005ef7 commit 379931f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices/Services/Workspace/Handlers/ConfigurationHandler.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public async Task<Unit> Handle(DidChangeConfigurationParams request, Cancellatio
103103
}
104104
if (incomingSettings.Search?.Exclude != null)
105105
{
106-
foreach(KeyValuePair<string, bool> patternEntry in incomingSettings.Files.Exclude)
106+
foreach(KeyValuePair<string, bool> patternEntry in incomingSettings.Search.Exclude)
107107
{
108108
if (patternEntry.Value && !excludeFilePatterns.Contains(patternEntry.Key)) { excludeFilePatterns.Add(patternEntry.Key); }
109109
}

0 commit comments

Comments
 (0)