diff options
author | kumavis <aaron@kumavis.me> | 2017-05-13 03:27:40 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2017-05-13 03:27:40 +0800 |
commit | 2c8bbe3b25c726b8a0cebb572c3c9d962136a693 (patch) | |
tree | 72368747d5d74df7e3f17642601458049565b8e8 /app/scripts/lib | |
parent | 092807f56edc1fa772910be1dfa179f6ec9703c8 (diff) | |
download | tangerine-wallet-browser-2c8bbe3b25c726b8a0cebb572c3c9d962136a693.tar.gz tangerine-wallet-browser-2c8bbe3b25c726b8a0cebb572c3c9d962136a693.tar.zst tangerine-wallet-browser-2c8bbe3b25c726b8a0cebb572c3c9d962136a693.zip |
migrator - fix typo
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/migrator/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/migrator/index.js b/app/scripts/lib/migrator/index.js index ed07a0c60..de6f5d5cd 100644 --- a/app/scripts/lib/migrator/index.js +++ b/app/scripts/lib/migrator/index.js @@ -18,7 +18,7 @@ class Migrator { let migration = pendingMigrations[index] versionedData = await migration.migrate(versionedData) if (!versionedData.data) throw new Error('Migrator - migration returned empty data') - if (versionedData.version !== undefined && migratedData.meta.version !== migration.version) throw new Error('Migrator - Migration did not update version number correctly') + if (versionedData.version !== undefined && versionedData.meta.version !== migration.version) throw new Error('Migrator - Migration did not update version number correctly') } return versionedData |