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

config: Move setUseOptipng call after we determine if optipng is available #93

Merged
merged 1 commit into from Jun 3, 2021

Commits on Jun 3, 2021

  1. config: Move setUseOptipng call after we determine if optipng is avai…

    …lable
    
    Currently we tell AsCompose to use optipng just based on the value of
    the feature flag. AsCompose will respect what we tell it without further
    checking. If optipng is in fact not available then we'll crash later on
    when we first try to use it.
    
    Fix this by setting the flag *after* we check if optipng is installed.
    Iain Lane committed Jun 3, 2021