Permalink
Browse files

load js file only

  • Loading branch information...
aheckmann committed Sep 12, 2011
1 parent 832febc commit bc66b38ebe04d39a48c519b6d9a359d2e2e5f49a
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 bc66b38

Please sign in to comment.