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

Simplify exclude_paths generated by init #317

Merged
merged 1 commit into from Feb 1, 2016
Merged

Conversation

wfleming
Copy link
Contributor

@wfleming wfleming commented Feb 1, 2016

Previously we appended **/* to all auto-excluded directories: that's
no longer required by the new exclude behavior, so no reason to keep it.

cc @codeclimate/review

@jpignata
Copy link
Contributor

jpignata commented Feb 1, 2016

Did you mean to type **/* is what we'd append or am I missing something?

@wfleming
Copy link
Contributor Author

wfleming commented Feb 1, 2016

Did you mean to type **/* is what we'd append or am I missing something?

Sigh. That is what I typed, but markdown decided that meant I wanted "*/". Fixed above.

path
end
end
config["exclude_paths"] += paths
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be a good use case for |= here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Updated.

Previously we appended "**/*" to all auto-excluded directories: that's
no longer required by the new exclude behavior, so no reason to keep it.
@gdiggs
Copy link
Contributor

gdiggs commented Feb 1, 2016

LGTM

wfleming added a commit that referenced this pull request Feb 1, 2016
Simplify exclude_paths generated by init
@wfleming wfleming merged commit 988c0a2 into master Feb 1, 2016
@wfleming wfleming deleted the will/init-excludes branch February 1, 2016 16:24
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.

None yet

3 participants