Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

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

Merged
merged 4 commits into from
Sep 16, 2015
Merged

Exclude and include paths. #9

merged 4 commits into from
Sep 16, 2015

Conversation

fhwang
Copy link
Contributor

@fhwang fhwang commented Sep 16, 2015

No description provided.


def build_files_with_inclusions(inclusions)
inclusions.map do |include_path|
if include_path =~ %r{/$}
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh good call.

@gdiggs
Copy link
Contributor

gdiggs commented Sep 16, 2015

@fhwang re: the CC errors. We probably want to import a rubocop,yml from another repo and use it here

@fhwang
Copy link
Contributor Author

fhwang commented Sep 16, 2015

@gordondiggs sure, any thoughts on which other repo?

@gdiggs
Copy link
Contributor

gdiggs commented Sep 16, 2015

@fhwang
Copy link
Contributor Author

fhwang commented Sep 16, 2015

@gordondiggs take a look now?

@gdiggs
Copy link
Contributor

gdiggs commented Sep 16, 2015

LGTM

fhwang added a commit that referenced this pull request Sep 16, 2015
@fhwang fhwang merged commit 735a1ef into master Sep 16, 2015
@fhwang fhwang deleted the exclude-and-include-paths branch September 16, 2015 19:56
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.

2 participants