Skip to content

Fix for S9Y import#18

Merged
parkr merged 1 commit intojekyll:masterfrom
boone:fix_s9y_process
Mar 24, 2013
Merged

Fix for S9Y import#18
parkr merged 1 commit intojekyll:masterfrom
boone:fix_s9y_process

Conversation

@boone
Copy link
Contributor

@boone boone commented Mar 24, 2013

I tried to use the S9Y import as-is and got the following error: error: can't convert Hash into String

It seems the file name wasn't being passed in as the code was expecting. I modeled a fix after the RSS import, to use the --source argument. That will also allow flexibility to add an option to import comments.

Copy link
Member

Choose a reason for hiding this comment

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

Not a fan of unless?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copied that code straight out of rss.rb. unless is fine with me.

Copy link
Member

Choose a reason for hiding this comment

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

Ah! Ok, cool.

parkr added a commit that referenced this pull request Mar 24, 2013
Fix for S9Y import

Specify data source using --source option. Solves "can't convert Hash into String" error
@parkr parkr merged commit c44fa97 into jekyll:master Mar 24, 2013
parkr added a commit that referenced this pull request Mar 24, 2013
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
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.

3 participants