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

fix: fix path mounting when running in Docker #1888

Merged
merged 1 commit into from Apr 29, 2021

Commits on Apr 29, 2021

  1. fix: fix path mounting when running in Docker

    Currently pre-commit mounts the current directory to /src and uses
    current directory name as mount base.
    However this does not work when pre-commit is run inside the container
    on some mounted path already, because mount points are relative to the
    host, not to the container.
    
    Fixes pre-commit#1387
    okainov authored and asottile committed Apr 29, 2021
    Copy the full SHA
    6d5d386 View commit details
    Browse the repository at this point in the history