Skip to content

Commit a26b6fd

Browse files
committed
fix(transitioner): add new parser internal to transitioner
1 parent 72942cb commit a26b6fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/transitions/transitioner.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ module.exports = function(internals) {
2828
if(err)
2929
return;
3030

31+
internals.parser = {
32+
filesRegEx: /\.js$/
33+
};
34+
3135
Migration.loadFromFilesystem('migrations/', internals,
3236
function(err, migrations) {
3337

0 commit comments

Comments
 (0)