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

Don't crash when getcwd fails #6881

Closed
wants to merge 1 commit into from

Commits on Apr 26, 2023

  1. Don't crash when getcwd fails

    This can happen e.g. when you lose access to the filesystem
    
    get_relative_path() already returns absolute paths when the input isn't under the working directory, so we just return absolute paths in this case too.
    sam-mccall authored Apr 26, 2023
    Configuration menu
    Copy the full SHA
    ce2e905 View commit details
    Browse the repository at this point in the history