JohanObrink / rethink-migrate

A migration tool for rethink db
MIT License
47 stars 24 forks source link

getMigrationsExcept should skip non-js files #11

Closed AAzza closed 8 years ago

AAzza commented 8 years ago

If there are some strange files in migrations directory, in my case it was vim swp file, it b0rks! (Radu is really mad here).

Probably we should just filter out files not ending in .js.

JohanObrink commented 8 years ago

Fixed in https://github.com/JohanObrink/rethink-migrate/commit/546675b1d100ee07e88bb049ca72cb8e3a10f439 Release 1.0.2