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

raise MissingDependencyError instead of aborting on missing dependency #241

Merged
merged 2 commits into from Jan 14, 2016
Merged

raise MissingDependencyError instead of aborting on missing dependency #241

merged 2 commits into from Jan 14, 2016

Conversation

parkr
Copy link
Contributor

@parkr parkr commented Jan 14, 2016

Reverts a0acb69
Fixes #240

/cc @jch for review.

@@ -42,6 +42,8 @@ class Pipeline
autoload :TextileFilter, 'html/pipeline/textile_filter'
autoload :TableOfContentsFilter, 'html/pipeline/toc_filter'
autoload :TextFilter, 'html/pipeline/text_filter'

MissingDependencyError = Class.new(LoadError)
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you switch this to this syntax:

class MissingDependencyError < LoadError; end

It's a bit easier for ctags, and editors to find the definition this way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

jch added a commit that referenced this pull request Jan 14, 2016
raise MissingDependencyError instead of aborting on missing dependency
@jch jch merged commit 1d8506e into gjtorikian:master Jan 14, 2016
@parkr parkr deleted the dont-abort branch January 14, 2016 21:09
@simeonwillbanks
Copy link
Contributor

👍 Thanks @parkr!!! 🍻

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.

None yet

3 participants