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

Don't include the theme's includes_path if it is nil. #5780

Merged
merged 5 commits into from
Jan 17, 2017

Conversation

parkr
Copy link
Member

@parkr parkr commented Jan 17, 2017

Fixes #5639.

@parkr parkr requested a review from benbalter January 17, 2017 00:18
@parkr parkr added this to the 3.4 milestone Jan 17, 2017
@parkr parkr requested a review from pathawks January 17, 2017 00:22
@parkr parkr added the fix label Jan 17, 2017
@@ -435,7 +435,7 @@ def configure_theme
private
def configure_include_paths
@includes_load_paths = Array(in_source_dir(config["includes_dir"].to_s))
@includes_load_paths << theme.includes_path if self.theme
@includes_load_paths << theme.includes_path if self.theme && theme.includes_path
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need to be self.theme? If not, can they both be just theme?

@pathawks
Copy link
Member

Is there a test for this?

@parkr
Copy link
Member Author

parkr commented Jan 17, 2017

Is there a test for this?

@pathawks Yes! Pushed it up.

@parkr
Copy link
Member Author

parkr commented Jan 17, 2017

@jekyllbot: merge +bug

@jekyllbot jekyllbot merged commit b5d1be4 into master Jan 17, 2017
@jekyllbot jekyllbot deleted the dont-include-in-load-path-if-nil branch January 17, 2017 23:59
jekyllbot added a commit that referenced this pull request Jan 17, 2017
@jekyll jekyll locked and limited conversation to collaborators Jul 11, 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.

All include paths should filter out nil
4 participants