Skip to content

Use uri.toString() instead of fsPath to get untittled:untitled-1 path #1244

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

Merged
merged 1 commit into from
Mar 25, 2018

Conversation

rkeithhill
Copy link
Contributor

If you use fsPath you get a path of "Untitled-1" which doesn't work
with PSES IsInMemory method.

Fix #1155 where selecting PSSA rules in Untitled-1 file crashes PSES.

If you use fsPath you get a path of "Untitled-1" which doesn't work
with PSES IsInMemory method.

Fix #1155 where selecting PSSA rules in Untitled-1 file crashes PSES.
Copy link
Member

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@rkeithhill rkeithhill merged commit 3edb290 into master Mar 25, 2018
@rkeithhill rkeithhill deleted the rkeithhill/fix-1155-pssa-rules-untitled branch March 25, 2018 19:54
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.

3 participants