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

Return the type at the end of the method call #84

Merged
merged 1 commit into from
Feb 9, 2022

Commits on Feb 9, 2022

  1. Return the type at the end of the method call

    This is to fix a bug where if `@type_from_marcel` does not equal `SENSIBLE_DEFAULT`, `nil` is returned instead of the `@type_from_marcel` that was discovered on line 72:
    
    ```ruby
          @type_from_marcel = Marcel::MimeType.for Pathname.new(@filepath),
                                                   name: @filepath
    ```
    ngan authored Feb 9, 2022
    Configuration menu
    Copy the full SHA
    3740120 View commit details
    Browse the repository at this point in the history