diff options
Diffstat (limited to 'server/initializers/migrator.ts')
-rw-r--r-- | server/initializers/migrator.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/migrator.ts b/server/initializers/migrator.ts index 7d7c9f8cb..7ac20127e 100644 --- a/server/initializers/migrator.ts +++ b/server/initializers/migrator.ts | |||
@@ -65,7 +65,7 @@ async function getMigrationScripts () { | |||
65 | }[] = [] | 65 | }[] = [] |
66 | 66 | ||
67 | files | 67 | files |
68 | .filter(file => file.endsWith('.js.map') === false) | 68 | .filter(file => file.endsWith('.js')) |
69 | .forEach(file => { | 69 | .forEach(file => { |
70 | // Filename is something like 'version-blabla.js' | 70 | // Filename is something like 'version-blabla.js' |
71 | const version = file.split('-')[0] | 71 | const version = file.split('-')[0] |