We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4625326 commit 131de1dCopy full SHA for 131de1d
src/PowerShellEditorServices/Workspace/Workspace.cs
@@ -219,7 +219,8 @@ public string GetRelativePath(string filePath)
219
/// <returns>An enumerator over the PowerShell files found in the workspace</returns>
220
public IEnumerable<string> EnumeratePSFiles()
221
{
222
- if (WorkspacePath == null)
+ if (WorkspacePath == null
223
+ || !Directory.Exists(WorkspacePath))
224
225
yield break;
226
}
0 commit comments