Skip to content

Commit b8e8397

Browse files
committed
Fix name of WorkspaceService _workplaceService to _workspaceService
Annoying typo.
1 parent 6e3365b commit b8e8397

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/PowerShellEditorServices/Services/Analysis/AnalysisService.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ internal static string GetUniqueIdFromDiagnostic(Diagnostic diagnostic)
8686

8787
private readonly ConfigurationService _configurationService;
8888

89-
private readonly WorkspaceService _workplaceService;
89+
private readonly WorkspaceService _workspaceService;
9090

9191
private readonly int _analysisDelayMillis;
9292

@@ -115,7 +115,7 @@ public AnalysisService(
115115
_logger = loggerFactory.CreateLogger<AnalysisService>();
116116
_languageServer = languageServer;
117117
_configurationService = configurationService;
118-
_workplaceService = workspaceService;
118+
_workspaceService = workspaceService;
119119
_analysisDelayMillis = 750;
120120
_mostRecentCorrectionsByFile = new ConcurrentDictionary<ScriptFile, CorrectionTableEntry>();
121121
_analysisEngineLazy = new Lazy<PssaCmdletAnalysisEngine>(InstantiateAnalysisEngine);
@@ -334,7 +334,7 @@ private bool TryFindSettingsFile(out string settingsFilePath)
334334
return false;
335335
}
336336

337-
settingsFilePath = _workplaceService.ResolveWorkspacePath(configuredPath);
337+
settingsFilePath = _workspaceService.ResolveWorkspacePath(configuredPath);
338338

339339
if (settingsFilePath == null
340340
|| !File.Exists(settingsFilePath))
@@ -349,7 +349,7 @@ private bool TryFindSettingsFile(out string settingsFilePath)
349349

350350
private void ClearOpenFileMarkers()
351351
{
352-
foreach (ScriptFile file in _workplaceService.GetOpenedFiles())
352+
foreach (ScriptFile file in _workspaceService.GetOpenedFiles())
353353
{
354354
ClearMarkers(file);
355355
}

0 commit comments

Comments
 (0)