LukeCarrier / mkdocs-drawio-exporter

Exports your Draw.io diagrams at build time for easier embedding into your documentation
https://pypi.org/project/mkdocs-drawio-exporter/
MIT License
81 stars 9 forks source link

Don't attempt copy of cache file if export was unsuccessful #13

Closed LukeCarrier closed 4 years ago

LukeCarrier commented 4 years ago

If ensure_file_cached() exits unsuccessfully it doesn't make sense to proceed with the call to copy_file() in on_post_build(). We should continue the next file.

LukeCarrier commented 4 years ago

This will possibly resolve #8 -- I think this may be a duplicate. Will confirm momentarily.