tgriesser/knex — pull request #135 by lmorchard (2013-12-12 14:02:50+00:00)
Title: Only use files with the correct extension for migrations

When editing migrations in VIM, I noticed that Knex was picking up the `.swp` files and throwing an error. This commit filters by extension for just the expected files.

I didn't code up a full-blown test, but the addition of a random crap file in the migration fixtures will trigger the error that this commit fixes.