bryanbraun / middleman-navtree

For building navigation trees & menus in Middleman.
MIT License
45 stars 17 forks source link

Make sure data dir exists before writing the tree file #6

Closed marceldegraaf closed 9 years ago

marceldegraaf commented 9 years ago

A fresh Middleman installation doesn't have a data folder yet. This PR makes sure the folder exists before writing the tree.yml file.

marceldegraaf commented 9 years ago

@bryanbraun can you review this PR? :smile:

bryanbraun commented 9 years ago

@marceldegraaf, thanks for the PR. This looks like a great improvement!

Apologies for the delays... I've just finished working through some PRs in some of my other repos so I hope to get to get this one tested and merged this week.

marceldegraaf commented 9 years ago

Thanks @bryanbraun!