diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-17 14:20:43 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-17 14:27:16 +0100 |
commit | 6def7d34e6be805751b3f505b4e1436cc92fba35 (patch) | |
tree | c5667b09c461c4869510354c5aba377885f0fe6b /server/initializers | |
parent | f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1 (diff) | |
download | PeerTube-6def7d34e6be805751b3f505b4e1436cc92fba35.tar.gz PeerTube-6def7d34e6be805751b3f505b4e1436cc92fba35.tar.zst PeerTube-6def7d34e6be805751b3f505b4e1436cc92fba35.zip |
Fix migrations
Diffstat (limited to 'server/initializers')
-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] |