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

Ignore directories rather than all similar paths #65

Merged
merged 4 commits into from
Nov 10, 2018

Conversation

ashmaroli
Copy link
Member

Fixes #22

Copy link
Member

@DirtyF DirtyF left a comment

Choose a reason for hiding this comment

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

Looking good from the tests :)

@DirtyF DirtyF requested a review from a team October 17, 2018 14:30

def ignore_path?(patterns, path)
path = path.to_s
patterns.each do |pattern|
Copy link
Member

Choose a reason for hiding this comment

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

patterns.any? {|pattern| path =~ pattern } might be more concise here

@DirtyF
Copy link
Member

DirtyF commented Nov 10, 2018

@jekyllbot: merge +fix

@jekyllbot jekyllbot merged commit baf5903 into jekyll:master Nov 10, 2018
@jekyllbot jekyllbot added the bug label Nov 10, 2018
jekyllbot added a commit that referenced this pull request Nov 10, 2018
@ashmaroli
Copy link
Member Author

Uh oh.. I never saw Parker's review until now..

@jekyll jekyll locked and limited conversation to collaborators Nov 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changes to files starting with _site are not being picked up
4 participants