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 a bug in AddGitIgnore preventing .gitignore from being respected #36

Merged
merged 2 commits into from
Jul 1, 2023

Conversation

jlewi
Copy link
Owner

@jlewi jlewi commented Jul 1, 2023

  • We were missing a defer statement for closing the file so
    we were closing the file before scanning it for .gitignore patterns

  • As a result no patterns were detected; scanner reports an error but we
    weren't checking it.

Related to #23

jlewi added 2 commits May 19, 2023 09:05
* We were missing a defer statement for closing the file so
  we were closing the file before scanning it for .gitignore patterns

* As a result no patterns were detected; scanner reports an error but we
  weren't checking it.

Related to #23
@jlewi jlewi changed the title Jlewi/gitignore Fix a bug in AddGitIgnore preventing .gitignore from being respected Jul 1, 2023
@jlewi jlewi merged commit 6650d25 into main Jul 1, 2023
@jlewi jlewi deleted the jlewi/gitignore branch July 1, 2023 01:36
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.

1 participant