aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-05-13 03:27:40 +0800
committerkumavis <aaron@kumavis.me>2017-05-13 03:27:40 +0800
commit2c8bbe3b25c726b8a0cebb572c3c9d962136a693 (patch)
tree72368747d5d74df7e3f17642601458049565b8e8 /app/scripts
parent092807f56edc1fa772910be1dfa179f6ec9703c8 (diff)
downloadtangerine-wallet-browser-2c8bbe3b25c726b8a0cebb572c3c9d962136a693.tar
tangerine-wallet-browser-2c8bbe3b25c726b8a0cebb572c3c9d962136a693.tar.gz
tangerine-wallet-browser-2c8bbe3b25c726b8a0cebb572c3c9d962136a693.tar.bz2
tangerine-wallet-browser-2c8bbe3b25c726b8a0cebb572c3c9d962136a693.tar.lz
tangerine-wallet-browser-2c8bbe3b25c726b8a0cebb572c3c9d962136a693.tar.xz
tangerine-wallet-browser-2c8bbe3b25c726b8a0cebb572c3c9d962136a693.tar.zst
tangerine-wallet-browser-2c8bbe3b25c726b8a0cebb572c3c9d962136a693.zip
migrator - fix typo
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/lib/migrator/index.js2
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