Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the migration matcher fail if passed a bad filename
If a migration file is found not to exist, its name is set to nil, and this is thrown up the stack with a failure at matcher.rb#L46. This then gets interpreted as a successful match at matcher.rb#L129. Avoid this by returning the requested @name to trigger a failed match.
- Loading branch information