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

Fixing issue with tojpg not being deleted #897

Merged
merged 1 commit into from
Mar 13, 2016

Conversation

connorjburton
Copy link

Fixes #894

Issue

Some JPG files are not deleted, when they were generated through tojpg Twig filter that was used on a PNG file.

Solution

Change generated tojpg files to have tojpg in the filename.
Added two more calls to delete_generated_files with specific regex for the tojpg

Impact

Negligibly slower

Usage

No change

Considerations

I tried combining the two calls to one, but couldn't get it to work with glob correctly.

@jarednova jarednova merged commit 3e6a01c into timber:master Mar 13, 2016
@jarednova
Copy link
Member

Thanks @connorjburton — the doctors have cleared me for GitHub usage again. This looks good!

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

2 participants