dreamyguy / gitlogg

💾 🧮 🤯 Parse the 'git log' of multiple repos to 'JSON'
MIT License
130 stars 27 forks source link

Check if directories passed to script are git repos before attempting to run #19

Open dreamyguy opened 6 years ago

dreamyguy commented 6 years ago

As it is now, the script that parses JSON does not throw any error if directories passed as git repositories aren't git repositories. That results in an unusable JSON file.