tplant icon indicating copy to clipboard operation
tplant copied to clipboard

Silent failure when output directory does not exist

Open david-err opened this issue 4 years ago • 0 comments

Hi, great library. A small issue I ran into, is that tplant will not throw an error/warning when the output directory does not exist. It simply says Done in x secs. while nothing is generated.

In my case, I wanted to output to reports/uml/uml.svg. reports/uml did not exist, reports/xyz did, though.

Suggested solution:

  1. Generate output directory if not exists
  2. Warn/error when output dir could not be created.

Cheers

david-err avatar Jun 09 '20 08:06 david-err