-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
✨ Tolerate "dot" directories when checking if dir is empty #1944
✨ Tolerate "dot" directories when checking if dir is empty #1944
Conversation
I'll rebase this to fix the lint line-length problem after #1943 |
Does #1943 justify doing this in 2 different PRs? Maybe you can use two commits if you want to split the clarity change and the functionality change. |
4b68253
to
32b36fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once the three suggested changes (one of them is in the above comment) are applied, this LGTM.
Many users will be running version control; we should ignore .git directories also therefore. We ignore all directories starting with "." (just as we ignore all files starting with "."). Also add go.sum to ignore list, as go.mod is already ignored. Co-authored-by: Adrián <[email protected]>
e5024b3
to
4fd2cd7
Compare
Thanks for all the suggestions - I incorporated them all (I believe!) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Just a small NIT, can you edit the title? PR titles are used for changelogs and it is no longer only |
Thanks @Adirio - good point - changed the PR title to match the commit title (which I had remembered to update!). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Adirio, camilamacedo86, justinsb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Many users will be running version control; we should ignore .git
directories also therefore.