jfischoff / tmp-postgres

Create temporary postgres instances
BSD 3-Clause "New" or "Revised" License
53 stars 17 forks source link

cacheAction should create the parent directories #240

Closed jfischoff closed 4 years ago

jfischoff commented 4 years ago

cacheAction should call createDirectoryIfMissing for the parent directories of the cache before attempting to create the final directory with createDirectory.

This way we can still use the the exception to decide if we should create the db cluster and we can create the parent directories.