Permalink
Browse files

Merge branch 'master' of github.com:visionmedia/node-migrate

  • Loading branch information...
2 parents ee24061 + 8fd55f3 commit 2d67e8a94fb9ed060c396ad8ddcdc436a45d40d6 @tj committed Sep 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/migrate
View
@@ -107,7 +107,7 @@ while (args.length) {
function migrations() {
return fs.readdirSync('migrations').filter(function(file){
- return file.match(/^\d+/);
+ return file.match(/^\d+.*\.js$/);
}).sort().map(function(file){
return 'migrations/' + file;
});

0 comments on commit 2d67e8a

Please sign in to comment.