-
Notifications
You must be signed in to change notification settings - Fork 9
Exclude and include paths. #9
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
Conversation
|
||
def build_files_with_inclusions(inclusions) | ||
inclusions.map do |include_path| | ||
if include_path =~ %r{/$} |
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.
this might be more readable as include_path.ends_with?("/")
. WDYT?
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.
It would be, but we're not using activesupport here and keeping things light might be a higher priority here.
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.
Oh good call.
@fhwang re: the CC errors. We probably want to import a |
@gordondiggs sure, any thoughts on which other repo? |
@fhwang this one looks good https://github.com/codeclimate/codeclimate/blob/master/.rubocop.yml. Looks like we also exclude spec |
@gordondiggs take a look now? |
LGTM |
No description provided.