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

Use os.path.relpath on a normalized Packages base path #734

Merged
merged 1 commit into from
Jan 15, 2020
Merged

Use os.path.relpath on a normalized Packages base path #734

merged 1 commit into from
Jan 15, 2020

Conversation

adill
Copy link
Contributor

@adill adill commented Nov 11, 2019

The previous method fails because it assumes packages_path is
normalized, yet it will not be when Sublime Text is started via the subl
command with a non-normalized PATH entry
(i.e. PATH=z:\bin\..\tools\sublime_text)

The previous method fails because it assumes `packages_path` is
normalized, yet it will not be when Sublime Text is started via the `subl`
command with a non-normalized `PATH` entry
(i.e. `PATH=z:\bin\..\tools\sublime_text`)
@orta
Copy link
Contributor

orta commented Jan 15, 2020

The code looks reasonable to me, and I've tested running it on my computer and popups are working fine 👍

@orta orta merged commit ab51614 into microsoft:master Jan 15, 2020
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