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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly return nil after site process phase #8472

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

ashmaroli
Copy link
Member

  • This is a 馃悰 bug fix.
  • I've added tests.

Summary

The various phases within site.process has Returns nothing. in the Ruby code documentation.
Yet, those phases when called individually returns something other than nothing.

This pull request fixes above by explicitly returning nil.

Context

When toying with the site build process phases via IRB, various phases may output large amount of data in site with numerous pages and documents.

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.

0锔忊儯

@ashmaroli
Copy link
Member Author

@jekyllbot: merge +bug

@jekyllbot jekyllbot merged commit 37df92d into jekyll:master Nov 18, 2020
jekyllbot added a commit that referenced this pull request Nov 18, 2020
@ashmaroli ashmaroli deleted the site-phases-return-nil branch November 18, 2020 10:42
github-actions bot pushed a commit that referenced this pull request Nov 18, 2020
Ashwin Maroli: Explicitly return nil after site process phase (#8472)

Merge pull request 8472
@jekyll jekyll locked and limited conversation to collaborators Nov 18, 2021
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.

None yet

3 participants