fix: Switch converted to Object Literal (#940)
* updating a switch into object literal and fixed a couple linter errors * added a comment about weird formatting * style: use lodash get * fix: pass eslint + puglint + jest
This commit is contained in:
committed by
Nicolas Giard
parent
2142b5f674
commit
0f9ddf1e5d
@@ -20,10 +20,10 @@ module.exports = {
|
||||
},
|
||||
|
||||
getMigrationName(migration) {
|
||||
return migration.file;
|
||||
return migration.file
|
||||
},
|
||||
|
||||
getMigration(migration) {
|
||||
return require(path.join(baseMigrationPath, migration.file));
|
||||
return require(path.join(baseMigrationPath, migration.file))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user