Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Make the migration matcher fail if passed a bad filename #11
If a migration file is found not to exist, its name is set to nil, and this is thrown up the stack as 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.