KnpLabs/snappy — pull request #121 by daniel-helpling (2014-11-10 10:22:52+00:00)
Title: Add check header and footer not null and exist before unlink

Header & Footer file now only removed when option is not null and file exists.

Fixes:
when option['header-html'] or option['footer-html'] is null then
unlink(): No such file or directory
thrown on generate.