Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure log directory is created #1219

Merged

Conversation

TylerLeonhardt
Copy link
Member

The vim extension ran into this issue where because it didn't create the log dir, PSES wouldn't startup properly.

This makes PSES more resilient.

@TylerLeonhardt TylerLeonhardt requested a review from rjmholt as a code owner March 5, 2020 21:36
: Path.GetDirectoryName(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));

// Ensure logDir exists
if (!Directory.Exists(logDir))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@TylerLeonhardt TylerLeonhardt merged commit 819b802 into PowerShell:master Mar 9, 2020
@TylerLeonhardt TylerLeonhardt deleted the ensure-logdir-is-created branch March 9, 2020 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants