We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeea621 commit 4a0bbafCopy full SHA for 4a0bbaf
src/PowerShellEditorServices.Hosting/Commands/StartEditorServicesCommand.cs
@@ -303,10 +303,7 @@ private string GetLogDirPath()
303
: Path.GetDirectoryName(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
304
305
// Ensure logDir exists
306
- if (!Directory.Exists(logDir))
307
- {
308
- Directory.CreateDirectory(logDir);
309
- }
+ Directory.CreateDirectory(logDir);
310
311
return logDir;
312
}
0 commit comments