Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #4 from aheckmann/master

load js files only
  • Loading branch information...
commit 8fd55f3d7d79460d1855d03db385dd7823148f26 2 parents 832febc + bc66b38
TJ Holowaychuk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/migrate
2  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;
});
Please sign in to comment.
Something went wrong with that request. Please try again.