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

Fix check for supported file types #1311

Closed

Commits on May 6, 2019

  1. Fix check for supported file types

    The check for supported file types was added here - OptimalBits#1186.
    It’s checking for `supportedFileTypes.indexOf(path.extname(handler)) !== -1 ` but indexOf return a number `-1` not a string `’-`’`, so this check was always true.
    
    Updated to the number `-1`.
    michaltk committed May 6, 2019
    Configuration menu
    Copy the full SHA
    d8784a5 View commit details
    Browse the repository at this point in the history