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

Base all relative paths from the project path, not from cwd #19

Merged
merged 1 commit into from Aug 3, 2016

Conversation

Dinnerbone
Copy link
Contributor

I have a project in Sublime Text 3 that includes . as one of its folders. Snipped down, it looks like this:

{
    "folders":
    [
        {
            "path": ".",
            "name": "Project"
        }
    ]
}

With this project, PluginUtils.project_path() returns "." which is then expanded with cwd ("C:\Program Files\Sublime Text 3" for me) and fails to find eslint.

This pull request uses a base dir of the project itself, then fails back to cwd if there's no project open.

@TheSavior
Copy link
Owner

Thank you very much for making these separate PRs. Made it easy to review.

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.

None yet

2 participants