mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
fix: retrieve config version before migration
This commit is contained in:
parent
07c43b2458
commit
c8bd55de53
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ type Storage = {
|
|||
async function migrateConfig() {
|
||||
// not referencing to enum above to prevent migrate future configs
|
||||
const config = await storageHelper.get<Config | Storage>([
|
||||
'configVersion',
|
||||
'sideBarWidth',
|
||||
'shortcut',
|
||||
'access_token',
|
||||
|
|
|
|||
Loading…
Reference in a new issue