pietroppeter / nimib

nimib 🐳 - nim 👑 driven ⛵ publishing ✍
https://pietroppeter.github.io/nimib/
MIT License
183 stars 10 forks source link

Create homeDir if it doesn't exist alredy #246

Closed neroist closed 4 months ago

neroist commented 5 months ago

Title is self-explanitory -- unsure if the directory's creation should be logged or not (probably not?)

pietroppeter commented 5 months ago

yep, self explanatory and straightforward fix to a "bug" we did not know about. Thanks!

Looking at this https://github.com/pietroppeter/nimib/blob/6daf48952f18384fcfae679d3dce5a77625fcfe1/src/nimib/docs.nim#L9 I would say for consistency to log directory creation. (and I think in general looks a good thing to log by default changes to the environment, since we are defaulting for now to a rather verbose nimib).

pietroppeter commented 4 months ago

Thanks, looks good!