Skip to content

Detect current directory [A-Z]*file, eg. Makefile#173

Merged
pcottle merged 1 commit intofacebook:masterfrom
Shenil:master
Jul 24, 2015
Merged

Detect current directory [A-Z]*file, eg. Makefile#173
pcottle merged 1 commit intofacebook:masterfrom
Shenil:master

Conversation

@Shenil
Copy link
Contributor

@Shenil Shenil commented Jul 22, 2015

I see that matching files without extensions in the current directory has already been discussed at length before, such as in #83 and #55.

Feel free to close if this is too narrow a use-case, but I find matching for current directory [A-Z]*files, a la Podfile, Gemfile, Makefile, etc. to be a useful addition because these files often appear in the root directories for projects, and would not create too many false positives.

@pcottle
Copy link
Contributor

pcottle commented Jul 24, 2015

Whoops sorry I missed this @Shenil ! I agree its already been discussed a bunch but since this PR has test coverage and covers a pretty valid usecase (files often in the root directories), I'm more than happy to merge it.

Thanks for contributing!

pcottle added a commit that referenced this pull request Jul 24, 2015
Detect current directory [A-Z]*file, eg. Makefile
@pcottle pcottle merged commit ed488ff into facebook:master Jul 24, 2015
@Shenil
Copy link
Contributor Author

Shenil commented Jul 26, 2015

Anytime. Glad to see it get merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants