Refactor walkSqlFiles to use glob
Created by: jonathana
Looking at the code, there is a comment in walkSqlFiles that says "A recursive directory walker that would love to be refactored". I'm willing to do that by switching over to using isaacs' glob module. I've forked into my repo and am working on a branch right now to do that if it makes sense.
One thing I would like to add (which is for my own side purposes) is that in the queryFiles property that is kept of what has been loaded up that holds the name, sql, and path of the file that got loaded up to also add the property path on the object as well (db/foo/bar/somefile.sql becomes foo.bar.somefile).
Is the plan for refactoring walkSqlFiles to use glob solid enough to go forward? The secondary goal of tracking additional metadata about what endpoints got loaded up is not a hard requirement and I can leave it out.