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

Fixes exception in a top path edge case #242

Merged
merged 3 commits into from
Dec 12, 2022
Merged

Fixes exception in a top path edge case #242

merged 3 commits into from
Dec 12, 2022

Commits on Dec 9, 2022

  1. Fixes exception in a top path edge case

    The gitignore is throwing an exception when dealing with absolute paths if that path is the very same as the working directory.
    
    This is the case when both `expandDirectories: false` and `onlyFiles: false` are set and the input is `.` and the `cwd` is set to an absolute path.
    
    I ran across this when using `globby` in a project of mine and I reproduced it with a test case here and then fixed it.
    voxpelli committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    4a57cd4 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2022

  1. Fix feedback

    voxpelli committed Dec 10, 2022
    Configuration menu
    Copy the full SHA
    b9b5eca View commit details
    Browse the repository at this point in the history
  2. Fix tests on windows

    voxpelli committed Dec 10, 2022
    Configuration menu
    Copy the full SHA
    6cc9ed3 View commit details
    Browse the repository at this point in the history